Browse Source

fix: correct error with fn_print_error_eol_nl

pull/2766/head
Daniel Gibbs 5 years ago
parent
commit
17efcab6ca
  1. 2
      lgsm/functions/command_monitor.sh
  2. 2
      lgsm/functions/core_messages.sh

2
lgsm/functions/command_monitor.sh

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

2
lgsm/functions/core_messages.sh

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

Loading…
Cancel
Save