From 6bb01404ec1646312fab14e16fa78de036289742 Mon Sep 17 00:00:00 2001 From: Michael Hobbs Date: Thu, 18 Dec 2014 15:55:16 -0800 Subject: [PATCH] poor lint fix choice. let's not do that. --- plugins/checks/check-deploy | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/checks/check-deploy b/plugins/checks/check-deploy index 35b333ce4..be0c93625 100755 --- a/plugins/checks/check-deploy +++ b/plugins/checks/check-deploy @@ -56,7 +56,7 @@ sleep $WAIT # --location Follow redirects CURL_OPTIONS="-q --compressed --fail --location --max-time 30" -while read PATHNAME EXPECTED < "$FILENAME"; do +while read PATHNAME EXPECTED; do # Ignore empty lines and lines starting with # [[ -z "$PATHNAME" || "$PATHNAME" =~ ^# ]] && continue @@ -70,6 +70,6 @@ while read PATHNAME EXPECTED < "$FILENAME"; do else echo -e "\033[32m\033[1m$URL => \"$EXPECTED\"\033[0m" fi -done +done < "$FILENAME" echo -e "\033[32m\033[1mAll checks successful!\033[0m"