From 10e77c40c6b0db7a95bd08b5016a218a93f42f28 Mon Sep 17 00:00:00 2001 From: Alain Reguera Delgado Date: Oct 10 2012 18:05:16 +0000 Subject: Update `Functions/Commons/cli_printMessage.sh' file. --- diff --git a/Scripts/Bash/Functions/Commons/cli_printMessage.sh b/Scripts/Bash/Functions/Commons/cli_printMessage.sh index 029209e..75b33f1 100755 --- a/Scripts/Bash/Functions/Commons/cli_printMessage.sh +++ b/Scripts/Bash/Functions/Commons/cli_printMessage.sh @@ -76,6 +76,11 @@ function cli_printMessage { cli_printMessage "${CLI_NAME} (${ORIGIN}):" --as-stdout-line cli_printMessage "${MESSAGE}" --as-response-line cli_printMessage "${CLI_FUNCDIRNAM}" --as-toknowmore-line + + # Finish script execution. We use are using this option + # as convenction to finish the script execution. So, don't + # remove the following line, please. + exit ;; --as-toknowmore-line ) @@ -83,9 +88,6 @@ function cli_printMessage { cli_printMessage "`gettext "To know more, run the following command"`:" --as-stdout-line cli_printMessage "centos-art help --read trunk/Scripts/Functions/$MESSAGE" --as-stdout-line cli_printMessage '-' --as-separator-line - exit # <-- ATTENTION: Do not remove this line. We use this - # option as convenction to end script - # execution. ;; --as-yesornorequest-line )