Improve log line

This commit is contained in:
Darko Poljak 2019-10-17 07:52:53 +02:00
parent 1e18e71b9d
commit 2788de47b8

View file

@ -733,7 +733,7 @@ while [ "${source_no}" -lt "${no_sources}" ]; do
# It need not to be deleted, rsync will sync its content.
oldest_bak=$(ls -${TSORT}1r | grep "^${INTERVAL}\\." | head -n 1 || \
_exit_err "Listing oldest backup failed")
_techo "Using ${oldest_bak} for destination dir"
_techo "Using ${oldest_bak} for destination dir ${destination_dir}"
mv "${oldest_bak}" "${destination_dir}" ||
_exit_err "Moving oldest backup ${oldest_bak} to ${destination_dir} failed."
# Touch dest dir so it is not sorted wrong in listings below.