diff --git a/optimize_mysql_tables-ND.sh b/optimize_mysql_tables-ND.sh index 92e4516..bf8a4ba 100755 --- a/optimize_mysql_tables-ND.sh +++ b/optimize_mysql_tables-ND.sh @@ -139,7 +139,9 @@ fi # - Load Settings from configuration file # ------------- -echo "" +if $terminal ; then + echo "" +fi echononl " Loading configuration settings from $(basename ${conf_file}).." if [[ -f "$conf_file" ]]; then source "$conf_file" > $tmp_log_file 2>&1 @@ -312,7 +314,9 @@ for _val in ${mysql_credential_args_arr[@]} ; do info "Reoptimizing table \"${table}\" of database \"$db\" was successfully." fi fi - echo "" + if $terminal ; then + echo "" + fi fi diff --git a/optimize_mysql_tables.sh b/optimize_mysql_tables.sh index 47c3b74..d19e230 100755 --- a/optimize_mysql_tables.sh +++ b/optimize_mysql_tables.sh @@ -139,7 +139,9 @@ fi # - Load Settings from configuration file # ------------- -echo "" +if $terminal ; then + echo "" +fi echononl " Loading configuration settings from $(basename ${conf_file}).." if [[ -f "$conf_file" ]]; then source "$conf_file" > $tmp_log_file 2>&1 @@ -239,7 +241,9 @@ for _val in ${mysql_credential_args_arr[@]} ; do info "Reoptimizing table \"${table}\" of database \"$db\" was successfully." fi fi - echo "" + if $terminal ;then + echo "" + fi fi