Browse Source

correct echo for console message

pull/3007/head
Daniel Gibbs 5 years ago
parent
commit
364a1a9e6d
  1. 12
      lgsm/functions/command_console.sh

12
lgsm/functions/command_console.sh

@ -13,19 +13,19 @@ check.sh
fn_print_header fn_print_header
if [ "${consoleverbose}" == "yes" ]; then if [ "${consoleverbose}" == "yes" ]; then
echo "* Verbose output: ${lightgreen}yes${default}" echo -e "* Verbose output: ${lightgreen}yes${default}"
elif [ "${consoleverbose}" == "no" ]; then elif [ "${consoleverbose}" == "no" ]; then
echo "* Verbose output: ${red}no${default}" echo -e "* Verbose output: ${red}no${default}"
else else
echo "* Verbose output: ${red}unknown${default}" echo -e "* Verbose output: ${red}unknown${default}"
fi fi
if [ "${consoleinteract}" == "yes" ]; then if [ "${consoleinteract}" == "yes" ]; then
echo "* Interactive output: ${lightgreen}yes${default}" echo -e "* Interactive output: ${lightgreen}yes${default}"
elif [ "${consoleinteract}" == "no" ]; then elif [ "${consoleinteract}" == "no" ]; then
echo "* Interactive output: ${red}no${default}" echo -e "* Interactive output: ${red}no${default}"
else else
echo "* Interactive output: ${red}unknown${default}" echo -e "* Interactive output: ${red}unknown${default}"
fi fi
echo "" echo ""
fn_print_information_nl "Press \"CTRL+b\" then \"d\" to exit console." fn_print_information_nl "Press \"CTRL+b\" then \"d\" to exit console."

Loading…
Cancel
Save