support GNU and BusyBox ps
This commit is contained in:
parent
d5f1060c1a
commit
54403c725b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user