From f68a68a1e27c3ca38bc2fe98d7a23864a565e509 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Mon, 27 Aug 2007 19:10:02 +0200 Subject: [PATCH] Finish problem with the marker --- ccollect.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ccollect.sh b/ccollect.sh index 677fb86..7ca7bd2 100755 --- a/ccollect.sh +++ b/ccollect.sh @@ -473,7 +473,7 @@ while [ "${i}" -lt "${no_sources}" ]; do # # added marking in 0.6 (and remove it, if successful later) # - touch "${abs_destination_dir}/${c_marker}" + touch "${abs_destination_dir}.${c_marker}" # # the rsync part @@ -485,7 +485,7 @@ while [ "${i}" -lt "${no_sources}" ]; do # # remove marking here # - rm -f "${abs_destination_dir}/${c_marker}" || \ + rm "${abs_destination_dir}.${c_marker}" || \ _exit_err "Removing ${abs_destination_dir}/${c_marker} failed." _techo "Finished backup (rsync return code: $ret)."