diff options
Diffstat (limited to 'rc.d/init.d/functions')
-rwxr-xr-x | rc.d/init.d/functions | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rc.d/init.d/functions b/rc.d/init.d/functions index eea288a9..a651d699 100755 --- a/rc.d/init.d/functions +++ b/rc.d/init.d/functions @@ -127,7 +127,7 @@ status() { echo "$1 (pid $pid) is running..." return 0 else - pid=`ps auxww | awk '{ if ($12 ~ /^[^[]'"$1"'/) print $2}'` + pid=`ps auxww Op | awk '{ if ($12 ~ /^[^[]'"$1"'/) print $2}'` if [ "$pid" != "" ] ; then echo "$1 (pid $pid) is running..." return 0 |