Ver código fonte

Update ocserv.sh

MoeClub 4 anos atrás
pai
commit
3ecc8f36f9
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      AnyConnect/ocserv.sh

+ 1 - 1
AnyConnect/ocserv.sh

@@ -98,7 +98,7 @@ cp -f /usr/share/zoneinfo/PRC /etc/localtime
 echo "Asia/Shanghai" >/etc/timezone
 
 ## Not Reboot
-[ "$1" -eq "NotReboot" ] && exit 0
+[ "$1" == "NotReboot" ] && exit 0
 ## Rebot Now
 read -n 1 -p "Press <ENTER> to reboot..."
 reboot