mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-22 14:24:39 -07:00
* bin/users: use pgrep -c, performance improvement
Signed-off-by: Dustin Kirkland <kirkland@canonical.com>
This commit is contained in:
parent
e1c47ddf4b
commit
d2d3ef53cf
1 changed files with 1 additions and 1 deletions
|
@ -25,4 +25,4 @@ if [ "$1" = "--detail" ]; then
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
printf "\005{= wr}%d#\005{-} " `pgrep -f "sshd:.*@" | wc -l`
|
printf "\005{= wr}%d#\005{-} " `pgrep -c -f "sshd:.*@"`
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue