Fix error handling
Created by: philmmanjaro
The error handling introduced with https://github.com/manjaro/manjaro-tools/commit/52ce7f86befcdce48dfea0e42539ac954971d840 creates issues. See also my efforts to fix it, as I found following error:
[phil@manjaro manjaro-tools-iso-profiles]$ buildiso -p kde-minimal -a i686 -qv
/usr/bin/buildiso: line 200: trap_exit: command not found
Master will quit now with:
[phil@manjaro manjaro-tools-iso-profiles]$ buildiso -p kde-minimal -qv
==> ERROR: An unknown error has occurred. Exiting...