From 07ed2e7e328f3ed2fda7e936f90c8f2ba5529225 Mon Sep 17 00:00:00 2001 From: Dustin Kirkland Date: Wed, 6 May 2009 20:37:26 -0500 Subject: [PATCH] * bin/users: grep out the grep statement in the ps Signed-off-by: Dustin Kirkland --- bin/users | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/users b/bin/users index a9801e3b..a73fbee2 100755 --- a/bin/users +++ b/bin/users @@ -21,7 +21,7 @@ # if [ "$1" = "--detail" ]; then - ps -ef | grep "sshd;.*@" + ps -ef | grep "sshd;.*@" | grep -v grep exit 0 fi