Commit 10db8847 by Riccardo Vicedomini

fixed unwanted behavior that caused metaclade to not report the error after command's failure

parent a20fccc4
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
# with MetaCLADE2. If not, see <https://cecill.info/>. # with MetaCLADE2. If not, see <https://cecill.info/>.
# #
trap ctrl_c INT TERM ERR; function ctrl_c() { exit 5; } trap ctrl_c INT TERM; function ctrl_c() { exit 5; }
trap 'kill 0' EXIT trap 'kill 0' EXIT
CMD_DIR=$(cd "$(dirname "${BASH_SOURCE[0]}" )" && pwd) CMD_DIR=$(cd "$(dirname "${BASH_SOURCE[0]}" )" && pwd)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment