From 290dd92cd126f54921eae258c7946d1fa28bf392 Mon Sep 17 00:00:00 2001 From: Joe cooper Date: Wed, 17 May 2017 03:25:18 -0500 Subject: [PATCH] again with fixing the test --- slib.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slib.sh b/slib.sh index 6482b83..b8cfec9 100644 --- a/slib.sh +++ b/slib.sh @@ -324,7 +324,7 @@ run_ok () { done # Just in case the spinner survived somehow, kill it. local pidcheck=$(ps -e | grep ${spinpid}) - if [ -z "${pidcheck}" ]; then + if [ ! -z "$pidcheck" ]; then kill $spinpid fi # Log what we were supposed to be running