go back to sourcedir, so destination can be unmounted
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
parent
bdd6b15397
commit
d67b35da2c
1 changed files with 2 additions and 1 deletions
3
ccollect
3
ccollect
|
@ -472,9 +472,10 @@ while [ "${source_no}" -lt "${no_sources}" ]; do
|
|||
export destination_dir="${ddir}/${destination_name}"
|
||||
|
||||
#
|
||||
# added marking in 0.6 (and remove it, if successful later)
|
||||
# Mark backup running and go back to original directory
|
||||
#
|
||||
touch "${destination_dir}${CMARKER}"
|
||||
cd "${__abs_mydir}" || _exit_err "Cannot go back to ${__abs_mydir}."
|
||||
|
||||
#
|
||||
# the rsync part
|
||||
|
|
Loading…
Reference in a new issue