Correct ps flag for OpenBSD

Same flag as FreeBSD is needed
This commit is contained in:
SilentGob 2015-01-15 23:20:29 +01:00
parent 9eae48b87e
commit a9ac17a8f8
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
}