[BASH] fix run-engine issue with destroyed screen sessions

This commit is contained in:
Yehonal 2016-08-29 13:39:53 +02:00
parent cf87d71765
commit 453338a1dd

View File

@ -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