mirror of
https://github.com/openwrt/packages.git
synced 2026-01-10 11:44:48 +00:00
watchcat: make compatible with updated busybox ash array handling (fixes #7148)
Signed-off-by: Nuno Goncalves <nunojpg@gmail.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user