support GNU and BusyBox ps

This commit is contained in:
Thomas Levine 2016-02-29 12:48:13 +00:00
parent d5f1060c1a
commit 54403c725b
1 changed files with 1 additions and 1 deletions

View File

@ -3,4 +3,4 @@
# This script should run with /bin/sh
# regardless of whether -s or -n is passed.
ps -a | grep $$ | grep /bin/sh
ps -o pid,comm,args | grep $$ | grep /bin/sh