menuselect: exit non-zero in case of failure on --enable|disable options.

ASTERISK-29348

Change-Id: I77e3466435f5a51a57538b29addb68d811af238d
Signed-off-by: Jaco Kroon <jaco@uls.co.za>
This commit is contained in:
Jaco Kroon
2021-03-13 13:01:50 +02:00
committed by George Joseph
parent cce5ee5b7a
commit fc03116d9b
3 changed files with 11 additions and 2 deletions

View File

@@ -0,0 +1,5 @@
Subject: menuselect
menuselect --enable, --disable, --enable-category and --disable-category will
now fail with a non-zero exit code instead of silently failing if an invalid
option or category is specified.