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:
Nico Schottelius 2009-02-04 15:12:27 +01:00
parent 6de3c9877c
commit 38ca0a1546

View file

@ -561,9 +561,6 @@ while [ "${i}" -lt "${no_sources}" ]; do
_techo "Finished backup (rsync return code: $ret)." _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)." _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 fi
# #