forked from ungleich-public/ccollect
Revert "Keep a symlink to the current backup around. This allows us to"
This patch is broken for non local destinations.
This reverts commit 6de3c9877c
.
This commit is contained in:
parent
6de3c9877c
commit
38ca0a1546
1 changed files with 0 additions and 3 deletions
|
@ -561,9 +561,6 @@ while [ "${i}" -lt "${no_sources}" ]; do
|
|||
_techo "Finished backup (rsync return code: $ret)."
|
||||
if [ "${ret}" -ne 0 ]; then
|
||||
_techo "Warning: rsync exited non-zero, the backup may be broken (see rsync errors)."
|
||||
else
|
||||
[ -e "${destination}/${INTERVAL}.current" ] && rm -f "${destination}/${INTERVAL}.current"
|
||||
ln -s "$(basename "${destination_full}")" "${destination}/${INTERVAL}.current"
|
||||
fi
|
||||
|
||||
#
|
||||
|
|
Loading…
Reference in a new issue