forked from ungleich-public/ccollect
Improve log line
This commit is contained in:
parent
1e18e71b9d
commit
2788de47b8
1 changed files with 1 additions and 1 deletions
2
ccollect
2
ccollect
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue