[explorer/init] Add support for OpenBSD

This commit is contained in:
Takashi Yoshi 2019-04-24 11:15:44 +02:00
parent aba1ae68f0
commit 6dd5278ade

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