From 806663a83a01c91a74f214a15d9b2d7b2500f1e7 Mon Sep 17 00:00:00 2001 From: Richard Creasey - AI4Y <69941625+creas002@users.noreply.github.com> Date: Tue, 30 Jul 2024 07:41:41 -0400 Subject: [PATCH] Corrected variable name --- ansible/roles/common/files/rn2_upgrade.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible/roles/common/files/rn2_upgrade.sh b/ansible/roles/common/files/rn2_upgrade.sh index e72e9b8f..61ca43e2 100644 --- a/ansible/roles/common/files/rn2_upgrade.sh +++ b/ansible/roles/common/files/rn2_upgrade.sh @@ -133,7 +133,7 @@ cd ${HOME}/raspberry-noaa-v2 if [[ -f ${HOME}/raspberry-noaa-v2/scripts/tools/verification_tool/verification.sh ]]; then # Confirm if install_and_upgrade.sh script code already executed it or not vFound=$(cat ${HOME}/raspberry-noaa-v2/install_and_upgrade.sh | grep verification.sh | wc -l) - if [[ ${vFOUND} -eq 0 ]]; then + if [[ ${vFound} -eq 0 ]]; then echo "#####################################################" echo "# Execute Verification Tool" echo "#####################################################"