summaryrefslogtreecommitdiff
path: root/postfix/postfix.sh
diff options
context:
space:
mode:
Diffstat (limited to 'postfix/postfix.sh')
-rwxr-xr-xpostfix/postfix.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/postfix/postfix.sh b/postfix/postfix.sh
index a82d746..f4925a1 100755
--- a/postfix/postfix.sh
+++ b/postfix/postfix.sh
@@ -185,7 +185,7 @@ getlinesfromfile() {
done
replacements="$replacements;s/$oldparam/$newstring/"
done
- echo -n "$param = "
+ printf "%s = " "$param"
catfirstfile "$param" | sed 's/#.*//' | tr '\n' ',' | sed -e 's/^[, ]*//;s/[, ]\+/,/g' -e 's/\^/ /g' -e "s/,\$//$replacements"
}
@@ -446,7 +446,7 @@ diff -ruNw "$confdir" "$tempdir" || if [ $? -gt 1 ]; then exit $?; else needs_re
if [ "1" = "$FORCE" ]; then
do_update=y
elif [ "1" = "$needs_reload" ]; then
- echo -n "Above is the intended changes. OK to update (y/N)? "
+ printf 'Above is the intended changes. OK to update (y/N)? '
read do_update
fi
case $do_update in