* bin/users: grep out the grep statement in the ps

Signed-off-by: Dustin Kirkland <kirkland@canonical.com>
This commit is contained in:
Dustin Kirkland 2009-05-06 20:37:26 -05:00
commit 07ed2e7e32

View file

@ -21,7 +21,7 @@
#
if [ "$1" = "--detail" ]; then
ps -ef | grep "sshd;.*@"
ps -ef | grep "sshd;.*@" | grep -v grep
exit 0
fi