summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2020-10-10 23:35:01 +0200
committerJonas Smedegaard <dr@jones.dk>2020-10-10 23:35:01 +0200
commit85585621463e4511e265a4a8d6604993bfd3b5e1 (patch)
tree9d50307d98f33d16882d280eaf0f6f8d990dfe12
parentd3a85b3f154378fede22eddbcd338bf45db52e46 (diff)
tidy: use read -r (to please shellcheck)
-rwxr-xr-xpostfix/postfix.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/postfix/postfix.sh b/postfix/postfix.sh
index 9ae77df..563ecd3 100755
--- a/postfix/postfix.sh
+++ b/postfix/postfix.sh
@@ -447,7 +447,7 @@ if [ "1" = "$FORCE" ]; then
do_update=y
elif [ "1" = "$needs_reload" ]; then
printf 'Above is the intended changes. OK to update (y/N)? '
- read do_update
+ read -r do_update
fi
case $do_update in
y|Y)