Fix the issue that the "Outdated:" label is not displayed in some cases.

This commit is contained in:
Yasuharu Nakano
2015-03-10 09:52:38 +09:00
parent ac70d2aa90
commit 5ace23e6eb

View File

@@ -46,7 +46,7 @@ function __gvmtool_outdated {
;;
*)
if [ -n "${outdated}" ]; then
[ ${installed_count} -eq 0 ] && echo "Outdated:"
[ ${outdated_count} -eq 0 ] && echo "Outdated:"
echo "${outdated}"
(( outdated_count += 1 ))
fi