Browse Source

removed space in error

pull/914/head
Daniel Gibbs 9 years ago
parent
commit
2ae02cd187
  1. 8
      lgsm/functions/core_messages.sh

8
lgsm/functions/core_messages.sh

@ -142,17 +142,17 @@ fn_print_fail_nl(){
# [ ERROR ]
fn_print_error(){
if [ -n "${commandaction}" ]; then
echo -en "\r[${red} ERROR ${default}] ${commandaction} ${servicename}: $@"
echo -en "\r[${red} ERROR${default}] ${commandaction} ${servicename}: $@"
else
echo -en "\r[${red} ERROR ${default}] $@"
echo -en "\r[${red} ERROR${default}] $@"
fi
}
fn_print_error_nl(){
if [ -n "${commandaction}" ]; then
echo -en "\r[${red} ERROR ${default}] ${commandaction} ${servicename}: $@"
echo -en "\r[${red} ERROR${default}] ${commandaction} ${servicename}: $@"
else
echo -en "\r[${red} ERROR ${default}] $@"
echo -en "\r[${red} ERROR${default}] $@"
fi
sleep 0.5
echo -en "\n"

Loading…
Cancel
Save