Skip to content
Snippets Groups Projects

Reset trap in handler.

Merged Jan Frenzel requested to merge untrap into main
1 file
+ 1
0
Compare changes
  • Side-by-side
  • Inline
@@ -17,6 +17,7 @@ function myExitHandler () {
# Prevent leaking of set options
if $RESET_FLAG_U_REQUIRED; then set +u; fi
if $RESET_FLAG_E_REQUIRED; then set +e; fi
trap - EXIT
}
# Prevent leaking of set options
Loading