Skip to content

Commit 716e9f4

Browse files
committed
add "set -e" to DeDrift... to handle debug trap not being active inside functions
1 parent 63f37cf commit 716e9f4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

DeDriftAndResample/DeDriftAndResamplePipeline.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1071,6 +1071,7 @@ if [ -z "${HCPPIPEDIR}" ]; then
10711071
fi
10721072

10731073
# Load function libraries
1074+
set -e # debug trap doesn't trigger in functions, temporary fix - needs to be *before* sourcing debug.shlib for detection of interactive shell to disable it
10741075
source "${HCPPIPEDIR}/global/scripts/debug.shlib" "$@" # Debugging functions; also sources log.shlib
10751076
source ${HCPPIPEDIR}/global/scripts/opts.shlib # Command line option functions
10761077

0 commit comments

Comments
 (0)