mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-13 01:08:35 +00:00
[BASH] fix run-engine issue with destroyed screen sessions
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user