From 2cf4e06e01a758dae20e6b493af79bc53d1772c6 Mon Sep 17 00:00:00 2001 From: Yehonal Date: Tue, 30 Aug 2016 13:10:34 +0200 Subject: [PATCH] [BASH] separated -wipe from -ls for run engine --- bin/runners/run-engine | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bin/runners/run-engine b/bin/runners/run-engine index 823bf0b3c..9115abe77 100755 --- a/bin/runners/run-engine +++ b/bin/runners/run-engine @@ -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