[asterisk-bugs] [JIRA] (ASTERISK-29348) menuselect doesn't return errors in many cases
Friendly Automation (JIRA)
noreply at issues.asterisk.org
Fri Mar 19 08:14:15 CDT 2021
[ https://issues.asterisk.org/jira/browse/ASTERISK-29348?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=254238#comment-254238 ]
Friendly Automation commented on ASTERISK-29348:
------------------------------------------------
Change 15644 merged by George Joseph:
menuselect: exit non-zero in case of failure on --enable|disable options.
[https://gerrit.asterisk.org/c/asterisk/+/15644|https://gerrit.asterisk.org/c/asterisk/+/15644]
> menuselect doesn't return errors in many cases
> ----------------------------------------------
>
> Key: ASTERISK-29348
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-29348
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Core/BuildSystem
> Affects Versions: 16.16.2, 18.2.2
> Reporter: George Joseph
>
> menuselect returns success even if enable/disable fails or if invalid command line arguments are supplied. For example:
> {code}
> $ menuselect/menuselect enable--category MENUSELECT_APPS --enable app_jack --enable app_adsiprog --enable app_alarmreceiver --enable app_amd enable--category MENUSELECT_CHANNELS enable--chan_sip aSDASDADADAD menuselect.makeopts RETYREYTERTYRETY ; echo "RC: $?"
> 0
> {code}
> That command should NOT return a 0.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list