diff --git a/lgsm/functions/command_send.sh b/lgsm/functions/command_send.sh index 8cfe3f814..67bb04849 100644 --- a/lgsm/functions/command_send.sh +++ b/lgsm/functions/command_send.sh @@ -10,7 +10,7 @@ functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")" check.sh if [ -z "${userinput2}" ]; then fn_print_header - fn_print_information_nl "Send allows a command to be sent to the console." + fn_print_information_nl "Send a command to to the console." fi check_status.sh diff --git a/lgsm/functions/core_messages.sh b/lgsm/functions/core_messages.sh index 63570b7ed..387e95e91 100755 --- a/lgsm/functions/core_messages.sh +++ b/lgsm/functions/core_messages.sh @@ -364,14 +364,15 @@ fn_prompt_message(){ local prompt="$1" while true; do read -e -p "${prompt}" -r answer - if fn_prompt_yn "\"${answer}\", is this correct ?" Y; then - break; + echo -e "${answer}" + if ! fn_prompt_yn "Continue?" Y; then + exitcode=0 + core_exit.sh fi done echo "${answer}" } - # On-Screen End of Line ##################################