mirror of
https://github.com/azerothcore/azerothcore-wotlk.git
synced 2025-11-10 20:44:17 +08:00
[BASH] fix run-engine issue with destroyed screen sessions
This commit is contained in:
parent
cf87d71765
commit
453338a1dd
@ -1,7 +1,8 @@
|
||||
#!/bin/bash
|
||||
|
||||
function checkStatus() {
|
||||
if screen -ls $1 | grep -q "No Sockets found"
|
||||
# wipe do : destroy old screens + ls
|
||||
if screen -wipe $1 | grep -q "No Sockets found"
|
||||
then
|
||||
return 0
|
||||
else
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user