Skip to content

fix: avoid overriding traps set up by the setup_workdir function

Jakub Klinkovský requested to merge lahwaacz/devtools:trap into master

Bash traps for each signal are not composable, but rather override each other. Scripts should either place their temporary files in the common $WORKDIR and rely on the common traps to do the cleanup, or call the common trap_abort/trap_exit functions from the new traps.

Merge request reports