🔨 修复一键脚本错误
This commit is contained in:
parent
9fa3296db2
commit
3a3885a8e5
@ -317,6 +317,7 @@ configure() {
|
|||||||
read_checknum(){
|
read_checknum(){
|
||||||
if [ "$ftime" == "111" ]; then
|
if [ "$ftime" == "111" ]; then
|
||||||
echo "失败次数达到上限!" && exit 1
|
echo "失败次数达到上限!" && exit 1
|
||||||
|
fi
|
||||||
read -p "请输入您的登录验证码: " checknum
|
read -p "请输入您的登录验证码: " checknum
|
||||||
screen -x -S userbot -p 0 -X stuff "$checknum"
|
screen -x -S userbot -p 0 -X stuff "$checknum"
|
||||||
screen -x -S userbot -p 0 -X stuff $'\n'
|
screen -x -S userbot -p 0 -X stuff $'\n'
|
||||||
@ -335,6 +336,7 @@ read_checknum(){
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
login_screen(){
|
login_screen(){
|
||||||
screen -S userbot -X quit >> /dev/null 2>&1
|
screen -S userbot -X quit >> /dev/null 2>&1
|
||||||
screen -dmS userbot
|
screen -dmS userbot
|
||||||
|
Loading…
Reference in New Issue
Block a user