[BASH] fix run-engine issue with destroyed screen sessions
This commit is contained in:
parent
cf87d71765
commit
453338a1dd
1 changed files with 2 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue