mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-02-07 21:01:37 +00:00
[BASH] fix run-engine issue with destroyed screen sessions
This commit is contained in:
@@ -1,7 +1,8 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
function checkStatus() {
|
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
|
then
|
||||||
return 0
|
return 0
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user