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
|
if [[ $? -ne 0 ]]; then
|
||||||
let "sum_errors += 1"
|
let "sum_errors += 1"
|
||||||
echo_failed
|
echo_failed
|
||||||
error "$(cat $error_log)"
|
error "Error while executing archive script for database \"$db_name\"
|
||||||
|
|
||||||
|
$(cat $error_log)"
|
||||||
else
|
else
|
||||||
echo_ok
|
echo_ok
|
||||||
if $VERBOSE ; then
|
if $VERBOSE ; then
|
||||||
@ -347,7 +349,7 @@ done
|
|||||||
if [[ $sum_errors -eq 0 ]]; then
|
if [[ $sum_errors -eq 0 ]]; then
|
||||||
info "Script ended successfully."
|
info "Script ended successfully."
|
||||||
else
|
else
|
||||||
error "Script ended with \033[1m${sum_errors}\033[m error(s)!"
|
error "Script ended with ${sum_errors} error(s)!"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
clean_up 0
|
clean_up 0
|
||||||
|
Loading…
Reference in New Issue
Block a user