Merge pull request #772 from sideeffect42/openbsd-init

explorer/init: Add support for OpenBSD
remotes/origin/cdist-5.0.0
Darko Poljak 6 years ago committed by GitHub
commit 281691cfd9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      cdist/conf/explorer/init

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

Loading…
Cancel
Save