Add comment about --link-dest
This commit is contained in:
parent
fe2d9d2fe5
commit
69ae9076e3
1 changed files with 2 additions and 0 deletions
|
@ -446,6 +446,8 @@ while [ "${i}" -lt "${no_sources}" ]; do
|
||||||
# clone from old backup, if existing
|
# clone from old backup, if existing
|
||||||
#
|
#
|
||||||
if [ "${last_dir}" ]; then
|
if [ "${last_dir}" ]; then
|
||||||
|
# must be absolute, otherwise rsync uses it relative to
|
||||||
|
# the destination directory. See rsync(1).
|
||||||
abs_last_dir="$(cd "${last_dir}" && pwd -P)" || \
|
abs_last_dir="$(cd "${last_dir}" && pwd -P)" || \
|
||||||
_exit_err "Could not change to last dir ${last_dir}."
|
_exit_err "Could not change to last dir ${last_dir}."
|
||||||
set -- "$@" "--link-dest=${abs_last_dir}"
|
set -- "$@" "--link-dest=${abs_last_dir}"
|
||||||
|
|
Loading…
Reference in a new issue