fix issue with no updates displaying a "!"

This commit is contained in:
Dustin Kirkland 2009-01-21 21:20:03 -05:00
commit 28eaf59331

View file

@ -5,11 +5,11 @@ EXPIRATION=3600
print_updates() {
u=$1
if [ "$u" = "0" ]; then
echo ""
else
if [ -n "$u" ]; then
if [ "$u" -gt 0 ]; then
echo "$u!"
fi
fi
exit 0
}