mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-22 06:23:19 -07:00
fix issue with no updates displaying a "!"
This commit is contained in:
parent
7222302899
commit
28eaf59331
1 changed files with 4 additions and 4 deletions
|
@ -5,11 +5,11 @@ EXPIRATION=3600
|
||||||
|
|
||||||
print_updates() {
|
print_updates() {
|
||||||
u=$1
|
u=$1
|
||||||
if [ "$u" = "0" ]; then
|
if [ -n "$u" ]; then
|
||||||
echo ""
|
if [ "$u" -gt 0 ]; then
|
||||||
else
|
|
||||||
echo "$u!"
|
echo "$u!"
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
exit 0
|
exit 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue