From 5ace23e6eb78fe5bfc4bb5e7dfdecb3df7f4395d Mon Sep 17 00:00:00 2001 From: Yasuharu Nakano Date: Tue, 10 Mar 2015 09:52:38 +0900 Subject: [PATCH] Fix the issue that the "Outdated:" label is not displayed in some cases. --- src/main/bash/gvm-outdated.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/bash/gvm-outdated.sh b/src/main/bash/gvm-outdated.sh index cb00005e..b956f5a8 100644 --- a/src/main/bash/gvm-outdated.sh +++ b/src/main/bash/gvm-outdated.sh @@ -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