From 9f5ea1c289fae8be30387b37c1c52950c130ea74 Mon Sep 17 00:00:00 2001 From: Nuno Goncalves Date: Wed, 10 Oct 2018 08:15:23 +0200 Subject: [PATCH] watchcat: make compatible with updated busybox ash array handling (fixes #7148) Signed-off-by: Nuno Goncalves --- utils/watchcat/files/watchcat.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/watchcat/files/watchcat.sh b/utils/watchcat/files/watchcat.sh index 0fda123e9e..5b157de3d1 100644 --- a/utils/watchcat/files/watchcat.sh +++ b/utils/watchcat/files/watchcat.sh @@ -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