summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Bratch <luke@bratch.co.uk>2018-11-21 23:02:24 +0000
committerLuke Bratch <luke@bratch.co.uk>2018-11-21 23:02:24 +0000
commit65ed4416d6b0e55c54bfa64fbf6cb4176fe43c31 (patch)
treef6f6745cc2172281ae296d06e70e684d559b59b3
parent229a87c330033463046ca8fbd3a397ea12d0e196 (diff)
Use read -r to avoid input file characters being escaped
-rwxr-xr-xcertexpiry.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/certexpiry.sh b/certexpiry.sh
index 72ef8f8..d768400 100755
--- a/certexpiry.sh
+++ b/certexpiry.sh
@@ -9,7 +9,7 @@ HOSTSANDPORTS="hostsandports.txt"
# ==== Variables ====
# Loop through all host:port combinations
-while read HOSTANDPORT ; do
+while read -r HOSTANDPORT ; do
# echo "DEBUG: HOSTANDPORT: $HOSTANDPORT."