mirror of
https://github.com/GameServerManagers/LinuxGSM.git
synced 2025-01-08 12:07:37 +08:00
fix: correct fn_script_log_fail
This commit is contained in:
parent
8b0d98c887
commit
ab0fb4f14e
@ -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
|
||||
|
||||
|
@ -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!"
|
||||
|
@ -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} ]"
|
||||
|
Loading…
Reference in New Issue
Block a user