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() { 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
} }