Reorder debug messages
This commit is contained in:
parent
1b6946edc3
commit
03c713d836
|
@ -67,6 +67,11 @@ error_message() { # {{{
|
||||||
|
|
||||||
main() { # {{{
|
main() { # {{{
|
||||||
|
|
||||||
|
debug_message "main − \
|
||||||
|
ARGS=${ARGS}
|
||||||
|
env=$(env)"
|
||||||
|
|
||||||
|
|
||||||
# If backup is complete {{{
|
# If backup is complete {{{
|
||||||
if [ "${phase}" = "backup-end" ]; then
|
if [ "${phase}" = "backup-end" ]; then
|
||||||
## Get TARGET's file extension
|
## Get TARGET's file extension
|
||||||
|
@ -76,7 +81,7 @@ main() { # {{{
|
||||||
|
|
||||||
## hardlink TARGET archive to LATEST
|
## hardlink TARGET archive to LATEST
|
||||||
debug_message "hardlink TARGET archive (${target_archive}) to \
|
debug_message "hardlink TARGET archive (${target_archive}) to \
|
||||||
LATEST (${latest_archive})." >> "${temp_log_file}"
|
LATEST (${latest_archive})."
|
||||||
ln --force "${target_archive}" "${latest_archive}"
|
ln --force "${target_archive}" "${latest_archive}"
|
||||||
fi
|
fi
|
||||||
# }}}
|
# }}}
|
||||||
|
@ -88,15 +93,12 @@ LATEST (${latest_archive})." >> "${temp_log_file}"
|
||||||
|
|
||||||
## hardlink TARGET log to LATEST
|
## hardlink TARGET log to LATEST
|
||||||
debug_message "hardlink TARGET logs (${logfile}) to \
|
debug_message "hardlink TARGET logs (${logfile}) to \
|
||||||
LATEST (${latest_log})." >> "${temp_log_file}"
|
LATEST (${latest_log})."
|
||||||
ln --force "${logfile}" "${latest_log}"
|
ln --force "${logfile}" "${latest_log}"
|
||||||
fi
|
fi
|
||||||
# }}}
|
# }}}
|
||||||
|
|
||||||
debug_message "main − \
|
debug_message "---"
|
||||||
ARGS=${ARGS}
|
|
||||||
env=$(env)
|
|
||||||
---"
|
|
||||||
|
|
||||||
}
|
}
|
||||||
# }}}
|
# }}}
|
||||||
|
|
Loading…
Reference in New Issue