From ebe0c0d66df5b2a10bedb0b4ccbaa5975da96b5a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philippe=20Gr=C3=A9goire?= Date: Sun, 20 Aug 2017 11:12:30 -0400 Subject: [PATCH] make sure we continue on errors --- cdist/conf/explorer/init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cdist/conf/explorer/init b/cdist/conf/explorer/init index 54784a2e..43a66a50 100755 --- a/cdist/conf/explorer/init +++ b/cdist/conf/explorer/init @@ -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