make sure we continue on errors

This commit is contained in:
Philippe Grégoire 2017-08-20 11:12:30 -04:00
parent 5646a66f6c
commit ebe0c0d66d
No known key found for this signature in database
GPG Key ID: A14AA6DA679C2177
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ uname_s="$(uname -s)"
case "$uname_s" in
Linux)
pgrep -P0 -l | awk '/^1[ \t]/ {print $2;}'
(pgrep -P0 -l | awk '/^1[ \t]/ {print $2;}') || true
;;
FreeBSD)
ps -o comm= -p 1 || true