OSDN Git Service

[fix] : Changed to end on error
authorhayao <shun819.mail@gmail.com>
Sat, 3 Oct 2020 15:33:07 +0000 (00:33 +0900)
committerhayao <shun819.mail@gmail.com>
Sat, 3 Oct 2020 15:33:07 +0000 (00:33 +0900)
tools/msg.sh

index b7870ec..2c84b4a 100755 (executable)
@@ -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