Skip to content

Commit 0ce0176

Browse files
committed
修正webssh启动状态的问题
1 parent c0a2d3f commit 0ce0176

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

start.sh

+2
Original file line numberDiff line numberDiff line change
@@ -2427,8 +2427,10 @@ startWebSSH(){
24272427
if checkProcAlive "wssh"; then
24282428
stopProc "wssh"
24292429
fi
2430+
echo "正在启动中..."
24302431
cmd="nohup ./wssh --port=$port --fbidhttp=False --xheaders=False --encoding='utf-8' --delay=10 $args &"
24312432
eval "$cmd"
2433+
sleep 2
24322434
if checkProcAlive wssh; then
24332435
green "启动成功!"
24342436
else

0 commit comments

Comments
 (0)