watchcat: make compatible with updated busybox ash array handling (closes #10127)
Signed-off-by: Nuno Goncalves <nunojpg@gmail.com>
This commit is contained in:
parent
4bbeb730a5
commit
55ae829a14
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue