* usr/lib/byobu/users:

- clear cache on 0 users
This commit is contained in:
Dustin Kirkland 2012-06-24 22:32:14 -05:00
commit 9f5e77b845
2 changed files with 4 additions and 1 deletions

3
debian/changelog vendored
View file

@ -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

View file

@ -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
}