Parcourir la source

fix waitnet timeout error

rufengsuixing il y a 5 ans
Parent
commit
004d06bbc2
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      root/usr/share/AdGuardHome/waitnet.sh

+ 1 - 1
root/usr/share/AdGuardHome/waitnet.sh

@@ -26,7 +26,7 @@ do
 	fi
 	sleep 5
 	count=$((count+1))
-	if [ $count > 18 ]; then
+	if [ $count -gt 18 ]; then
 		/etc/init.d/AdGuardHome reload
 		break
 	fi