Skip to content

Commit

Permalink
fix: correct fn_script_log_fail
Browse files Browse the repository at this point in the history
  • Loading branch information
dgibbs64 committed Oct 23, 2023
1 parent 8b0d98c commit ab0fb4f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lgsm/modules/alert.sh
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ elif [ "${alert}" == "backup" ]; then
fn_alert_backup
else
fn_print_fail_nl "Missing alert type"
fn_script_log_fatal "Missing alert type"
fn_script_log_fail "Missing alert type"
core_exit.sh
fi

Expand Down
2 changes: 1 addition & 1 deletion lgsm/modules/install_complete.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ fn_messages_separator

if [ "${exitcode}" == "1" ]; then
echo -e "${bold}${red}Install Failed!${default}"
fn_script_log_fatal "Install Failed!"
fn_script_log_fail "Install Failed!"
elif [ "${exitcode}" == "2" ]; then
echo -e "${bold}${red}Install Completed with Errors!${default}}"
fn_script_log_error "Install Completed with Errors!"
Expand Down
2 changes: 1 addition & 1 deletion lgsm/modules/install_config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ fn_default_config_local() {
cp -n "${servercfgdir}/${servercfgdefault}" "${servercfgfullpath}"
if [ "${exitcode}" != 0 ]; then
fn_print_fail_eol
fn_script_log_fatal "copying config file [ ${servercfgdefault} ]"
fn_script_log_fail "copying config file [ ${servercfgdefault} ]"
else
fn_print_ok_eol
fn_script_log_pass "copying config file [ ${servercfgdefault} ]"
Expand Down

0 comments on commit ab0fb4f

Please sign in to comment.