From e2d957d83109c678bce388b2f553fa2403711724 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sat, 17 Mar 2012 16:28:54 -0700 Subject: [PATCH] etc-update: quote ${file} --- bin/etc-update | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/etc-update b/bin/etc-update index b07652075..b4f9eec53 100755 --- a/bin/etc-update +++ b/bin/etc-update @@ -391,7 +391,7 @@ do_cfg() { local ofile=$2 local -i my_input=0 - until (( my_input == -1 )) || [ ! -f ${file} ] ; do + until (( my_input == -1 )) || [ ! -f "${file}" ] ; do if [[ "${OVERWRITE_ALL}" == "yes" ]] && ! user_special "${ofile}"; then my_input=1 elif [[ "${DELETE_ALL}" == "yes" ]] && ! user_special "${ofile}"; then -- 2.26.2