Some minor changes to the script output.
This commit is contained in:
parent
be12e2d74a
commit
bc08dbd684
@ -325,7 +325,9 @@ for db_name in $databases ; do
|
||||
if [[ $? -ne 0 ]]; then
|
||||
let "sum_errors += 1"
|
||||
echo_failed
|
||||
error "$(cat $error_log)"
|
||||
error "Error while executing archive script for database \"$db_name\"
|
||||
|
||||
$(cat $error_log)"
|
||||
else
|
||||
echo_ok
|
||||
if $VERBOSE ; then
|
||||
@ -347,7 +349,7 @@ done
|
||||
if [[ $sum_errors -eq 0 ]]; then
|
||||
info "Script ended successfully."
|
||||
else
|
||||
error "Script ended with \033[1m${sum_errors}\033[m error(s)!"
|
||||
error "Script ended with ${sum_errors} error(s)!"
|
||||
fi
|
||||
|
||||
clean_up 0
|
||||
|
Loading…
Reference in New Issue
Block a user