فهرست منبع

fix: correct error with fn_print_error_eol_nl

Daniel Gibbs 6 سال پیش
والد
کامیت
17efcab6ca
2فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 1 1
      lgsm/functions/command_monitor.sh
  2. 1 1
      lgsm/functions/core_messages.sh

+ 1 - 1
lgsm/functions/command_monitor.sh

@@ -21,7 +21,7 @@ fn_monitor_check_lockfile(){
 		fn_print_error_eol_nl
 		fn_script_log_error "Checking lockfile: No lockfile found: ERROR"
 		fn_sleep_time
-		echo -e "	* Start ${selfname} to run monitor."
+		echo -en "* Start ${selfname} to run monitor."
 		core_exit.sh
 	fi
 

+ 1 - 1
lgsm/functions/core_messages.sh

@@ -353,7 +353,7 @@ fn_print_error_eol(){
 }
 
 fn_print_error_eol_nl(){
-	echo -en "${red}ERROR${default}"
+	echo -e "${red}ERROR${default}"
 }
 
 # WARN