watchcat: make compatible with updated busybox ash array handling

Signed-off-by: Nuno Goncalves <nunojpg@gmail.com>
This commit is contained in:
Nuno Goncalves
2018-10-10 08:15:23 +02:00
parent 1ccf2377fc
commit 178a359275
+1 -1
View File
@@ -52,7 +52,7 @@ watchcat_ping() {
time_now="${time_now%%.*}"
time_lastcheck="$time_now"
for host in "$pinghosts"
for host in $pinghosts
do
if ping -c 1 "$host" &> /dev/null
then