support GNU and BusyBox ps

This commit is contained in:
Thomas Levine 2016-02-29 12:48:13 +00:00
parent d5f1060c1a
commit 54403c725b

View File

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