Skip to content

exit: ensure an appropriate message is printed on unexpected exit

Lyndon Brown requested to merge jnqnfe/live-build:bad_exit_msg into master

if a script exits due to a failure and set -e, we should ensure that an error message is printed to be clear to the user that something actually went wrong.

similarly it would be good to print a suitable message should the user cancel with ctrl+c for instance.

Edited by Lyndon Brown

Merge request reports

Loading