forked from ungleich-public/cdist
make sure we continue on errors
This commit is contained in:
parent
5646a66f6c
commit
ebe0c0d66d
|
@ -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