summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/etc-update4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/etc-update b/bin/etc-update
index 8e2cf51b6..a421d973a 100755
--- a/bin/etc-update
+++ b/bin/etc-update
@@ -272,9 +272,9 @@ function do_cfg() {
local -i my_input=0
until (( ${my_input} == -1 )) || [ ! -f ${file} ]; do
- if [[ "${OVERWRITE_ALL}" == "yes" && ! user_special ${ofile} ]]; then
+ if [[ "${OVERWRITE_ALL}" == "yes" ]] && ! user_special "${ofile}"; then
my_input=1
- elif [[ "${DELETE_ALL}" == "yes" && ! user_special ${ofile} ]]; then
+ elif [[ "${DELETE_ALL}" == "yes" ]] && ! user_special "${ofile}"; then
my_input=2
else
showdiffcmd=$(echo "${diff_command}" |