mirror of
https://github.com/QSCTech/zjunet.git
synced 2026-01-22 03:34:48 +08:00
Fix bug for wlan script
This commit is contained in:
parent
195210365e
commit
18f55d6120
@ -71,7 +71,7 @@ login() {
|
||||
PASSWORD=$2
|
||||
|
||||
STATUS=$(curl http://g.cn/generate_204 -I -s | grep HTTP | awk {'print $2'})
|
||||
if [ STATUS -eq 204 ]; then
|
||||
if [ $STATUS -eq 204 ]; then
|
||||
echo "You have already logged in."
|
||||
exit 0
|
||||
fi
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user