diff --git a/bin/users b/bin/users index a73fbee2..64da9745 100755 --- a/bin/users +++ b/bin/users @@ -25,4 +25,4 @@ if [ "$1" = "--detail" ]; then exit 0 fi -printf "\005{= wr}%d#\005{-} " `pgrep -f "sshd:.*@" | wc -l` +printf "\005{= wr}%d#\005{-} " `pgrep -c -f "sshd:.*@"`