From d4f00db33393160bb6ea20f1ec46f92ed681738b Mon Sep 17 00:00:00 2001 From: Joe cooper Date: Fri, 26 May 2017 14:53:46 -0500 Subject: [PATCH] figured out actual bug in ps command --- slib.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slib.sh b/slib.sh index 9fe120b..317a790 100644 --- a/slib.sh +++ b/slib.sh @@ -347,7 +347,7 @@ run_ok () { done # Just in case the spinner survived somehow, kill it. local pidcheck - pidcheck=$(ps -eh ${spinpid}) + pidcheck=$(ps --no-headers ${spinpid}) if [ ! -z "$pidcheck" ]; then kill $spinpid 2>/dev/null fi