mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-22 14:24:39 -07:00
* usr/lib/byobu/users:
- clear cache on 0 users
This commit is contained in:
parent
cb30ad2670
commit
9f5e77b845
2 changed files with 4 additions and 1 deletions
3
debian/changelog
vendored
3
debian/changelog
vendored
|
@ -1,6 +1,7 @@
|
|||
byobu (5.21) unreleased; urgency=low
|
||||
|
||||
* UNRELEASED
|
||||
* usr/lib/byobu/users:
|
||||
- clear cache on 0 users
|
||||
|
||||
-- Dustin Kirkland <kirkland@ubuntu.com> Sun, 24 Jun 2012 16:25:33 -0500
|
||||
|
||||
|
|
|
@ -36,6 +36,8 @@ __users() {
|
|||
fi
|
||||
if [ $count -gt 0 ]; then
|
||||
color b w r; printf "%d" "$count"; color -; color w r; printf "#"; color --
|
||||
else
|
||||
rm -f "$BYOBU_RUN_DIR/status.$BYOBU_BACKEND/users"*
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue