diff --git a/modules/nextflow/src/main/resources/nextflow/executor/command-run.txt b/modules/nextflow/src/main/resources/nextflow/executor/command-run.txt index b6c660ece7..387226bab1 100644 --- a/modules/nextflow/src/main/resources/nextflow/executor/command-run.txt +++ b/modules/nextflow/src/main/resources/nextflow/executor/command-run.txt @@ -99,7 +99,7 @@ nxf_unstage() { nxf_main() { trap on_exit EXIT - trap on_term TERM INT USR1 USR2 + trap on_term TERM INT USR2 [[ "${NXF_CHDIR:-}" ]] && cd "$NXF_CHDIR" {{container_boxid}} @@ -131,4 +131,4 @@ nxf_main() { {{after_script}} } -$NXF_ENTRY \ No newline at end of file +$NXF_ENTRY diff --git a/modules/nextflow/src/test/groovy/nextflow/executor/test-bash-wrapper-with-trace.txt b/modules/nextflow/src/test/groovy/nextflow/executor/test-bash-wrapper-with-trace.txt index 48d60d125c..5b9183771d 100644 --- a/modules/nextflow/src/test/groovy/nextflow/executor/test-bash-wrapper-with-trace.txt +++ b/modules/nextflow/src/test/groovy/nextflow/executor/test-bash-wrapper-with-trace.txt @@ -264,7 +264,7 @@ nxf_unstage() { nxf_main() { trap on_exit EXIT - trap on_term TERM INT USR1 USR2 + trap on_term TERM INT USR2 [[ "${NXF_CHDIR:-}" ]] && cd "$NXF_CHDIR" NXF_SCRATCH='' diff --git a/modules/nextflow/src/test/groovy/nextflow/executor/test-bash-wrapper.txt b/modules/nextflow/src/test/groovy/nextflow/executor/test-bash-wrapper.txt index df60284549..0e4b3626b0 100644 --- a/modules/nextflow/src/test/groovy/nextflow/executor/test-bash-wrapper.txt +++ b/modules/nextflow/src/test/groovy/nextflow/executor/test-bash-wrapper.txt @@ -75,7 +75,7 @@ nxf_unstage() { nxf_main() { trap on_exit EXIT - trap on_term TERM INT USR1 USR2 + trap on_term TERM INT USR2 [[ "${NXF_CHDIR:-}" ]] && cd "$NXF_CHDIR" NXF_SCRATCH='' diff --git a/modules/nf-google/src/test/nextflow/cloud/google/lifesciences/bash-wrapper-gcp.txt b/modules/nf-google/src/test/nextflow/cloud/google/lifesciences/bash-wrapper-gcp.txt index ec6c2a10b0..e61df68044 100644 --- a/modules/nf-google/src/test/nextflow/cloud/google/lifesciences/bash-wrapper-gcp.txt +++ b/modules/nf-google/src/test/nextflow/cloud/google/lifesciences/bash-wrapper-gcp.txt @@ -79,7 +79,7 @@ nxf_unstage() { nxf_main() { trap on_exit EXIT - trap on_term TERM INT USR1 USR2 + trap on_term TERM INT USR2 [[ "${NXF_CHDIR:-}" ]] && cd "$NXF_CHDIR" NXF_SCRATCH={{folder}}