From 3d571e915a716ddc563b5f6c97a3335dc65e9394 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Sun, 25 Oct 2009 19:50:04 +0100 Subject: [PATCH] add braces Signed-off-by: Nico Schottelius --- ccollect.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ccollect.sh b/ccollect.sh index b1c85ee..0c478ab 100755 --- a/ccollect.sh +++ b/ccollect.sh @@ -307,7 +307,7 @@ while [ "${i}" -lt "${no_sources}" ]; do # # Sort by ctime (default) or mtime (configuration option) # - if [ -f "$c_mtime" ] ; then + if [ -f "${c_mtime}" ] ; then TSORT="t" else TSORT="tc" @@ -525,7 +525,7 @@ while [ "${i}" -lt "${no_sources}" ]; do if [ "$ret" = "$code" ]; then fail=1 fi - done <"$c_rsync_failure_codes" + done <"${c_rsync_failure_codes}" fi #