Merge pull request #67 from SilentGob/master

Correct ps flag for OpenBSD
pull/62/merge
Bruno Sutic 2015-01-16 00:25:50 +01:00
commit 3244b809eb
1 changed files with 1 additions and 0 deletions

View File

@ -13,6 +13,7 @@ exit_safely_if_empty_ppid() {
ps_command_flags() {
case $(uname -s) in
FreeBSD) echo "-ao" ;;
OpenBSD) echo "-ao" ;;
*) echo "-eo" ;;
esac
}