ソースを参照

fix: correct fn_script_log_fail

Daniel Gibbs 2 年 前
コミット
ab0fb4f14e

+ 1 - 1
lgsm/modules/alert.sh

@@ -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
 

+ 1 - 1
lgsm/modules/install_complete.sh

@@ -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!"

+ 1 - 1
lgsm/modules/install_config.sh

@@ -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} ]"