Skip to content

Additional Software notify: Fix error exit code if no buttons specified

segfault requested to merge 20196-fix-tails-additional-software-notify into testing

According to the usage message, exit code 2 means that the arguments are wrong. The docstring of ASPNotifier.__init__ says:

If there are no buttons, exit straight away with a meaningful code.

That meaningful code should not be 2. This commit changes it to 0 and documents that behavior in the usage message.

Closes #20196 (closed)

Merge request reports