make sure we continue on errors
This commit is contained in:
parent
5646a66f6c
commit
ebe0c0d66d
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue