From 9863358469ccdbf13f844f782b90bb7cfb5b4932 Mon Sep 17 00:00:00 2001 From: Dave Conroy Date: Tue, 7 Nov 2023 11:05:39 -0800 Subject: [PATCH] Split debug statement for backup/move exit codes --- install/assets/functions/10-db-backup | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/install/assets/functions/10-db-backup b/install/assets/functions/10-db-backup index 3dcfd02..2494895 100644 --- a/install/assets/functions/10-db-backup +++ b/install/assets/functions/10-db-backup @@ -820,9 +820,9 @@ check_availability() { } check_exit_code() { - write_log debug "DB Backup Exit Code is ${exit_code}" case "${1}" in backup ) + write_log debug "DB Backup exit Code is ${exit_code}" case "${exit_code}" in 0 ) write_log info "DB Backup of '${2}' completed successfully" @@ -840,6 +840,7 @@ check_exit_code() { esac ;; move ) + write_log debug "Move exit Code is ${exit_code}" case "${move_exit_code}" in 0 ) write_log debug "Moving of backup '${2}' completed successfully"