Explorar el Código

fix waitnet timeout error

rufengsuixing hace 5 años
padre
commit
004d06bbc2
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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