From c0c19d259838e9eef4625ede31b8674d35689c11 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Mon, 20 Aug 2007 17:33:09 +0200 Subject: [PATCH] Minor cleanup --- ccollect.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ccollect.sh b/ccollect.sh index d699963..73c47f2 100755 --- a/ccollect.sh +++ b/ccollect.sh @@ -477,7 +477,6 @@ while [ "${i}" -lt "${no_sources}" ]; do # # the rsync part - # options partly stolen from rsnapshot # _techo "Transferring files..." @@ -490,7 +489,7 @@ while [ "${i}" -lt "${no_sources}" ]; do _exit_err "Removing ${abs_destination_dir}/${c_marker} failed." _techo "Finished backup (rsync return code: $ret)." - if [ "$ret" -ne 0 ]; then + if [ "${ret}" -ne 0 ]; then _techo "Warning: rsync exited non-zero, the backup may be broken (see rsync errors)." fi