[BASH] separated -wipe from -ls for run engine
This commit is contained in:
parent
b03b420813
commit
2cf4e06e01
1 changed files with 2 additions and 0 deletions
|
|
@ -1,6 +1,8 @@
|
|||
#!/bin/bash
|
||||
|
||||
function checkStatus() {
|
||||
# wipe do : destroy old screens + ls
|
||||
screen -wipe
|
||||
if screen -ls $1 | grep -q "No Sockets found"
|
||||
then
|
||||
return 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue