From: hayao Date: Sat, 3 Oct 2020 15:33:07 +0000 (+0900) Subject: [fix] : Changed to end on error X-Git-Tag: rc3-alpha1~159 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=6cdf2bed45f8bf9e711a2ad0c539dfbea4e26b5d;p=alterlinux%2Falterlinux.git [fix] : Changed to end on error --- diff --git a/tools/msg.sh b/tools/msg.sh index b7870ec3..2c84b4a8 100755 --- a/tools/msg.sh +++ b/tools/msg.sh @@ -127,9 +127,11 @@ case ${1} in ;; "") "${script_path}/tools/msg.sh" -a "msg.sh" error "Please specify the message type" + exit 1 ;; *) "${script_path}/tools/msg.sh" -a "msg.sh" error "Unknown message type" + exit 1 ;; esac