Skip to content

Commit 9863358

Browse files
committed
Split debug statement for backup/move exit codes
1 parent bb3c942 commit 9863358

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

install/assets/functions/10-db-backup

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -820,9 +820,9 @@ check_availability() {
820820
}
821821

822822
check_exit_code() {
823-
write_log debug "DB Backup Exit Code is ${exit_code}"
824823
case "${1}" in
825824
backup )
825+
write_log debug "DB Backup exit Code is ${exit_code}"
826826
case "${exit_code}" in
827827
0 )
828828
write_log info "DB Backup of '${2}' completed successfully"
@@ -840,6 +840,7 @@ check_exit_code() {
840840
esac
841841
;;
842842
move )
843+
write_log debug "Move exit Code is ${exit_code}"
843844
case "${move_exit_code}" in
844845
0 )
845846
write_log debug "Moving of backup '${2}' completed successfully"

0 commit comments

Comments
 (0)