Skip to content

Commit

Permalink
fix empty var test
Browse files Browse the repository at this point in the history
  • Loading branch information
swelljoe committed May 17, 2017
1 parent 6faf522 commit d47ce1a
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 @@ -324,7 +324,7 @@ run_ok () {
done
# Just in case the spinner survived somehow, kill it.
local pidcheck=$(ps -e | grep ${spinpid})
if [ "${pidcheck}" ]; then
if [ -z "${pidcheck}" ]; then
kill $spinpid
fi
# Log what we were supposed to be running
Expand Down

0 comments on commit d47ce1a

Please sign in to comment.