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
1 changed files with 1 additions and 1 deletions

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