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

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