Merge pull request #772 from sideeffect42/openbsd-init

explorer/init: Add support for OpenBSD
This commit is contained in:
Darko Poljak 2019-04-24 12:17:11 +02:00 committed by GitHub
commit 281691cfd9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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
;;
*)