Skip to content

Commit

Permalink
figured out actual bug in ps command
Browse files Browse the repository at this point in the history
  • Loading branch information
swelljoe committed May 26, 2017
1 parent c27cbff commit d4f00db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion slib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d4f00db

Please sign in to comment.