Skip to content

Commit

Permalink
Suppress trap for SIGUSR1 signal #1656
Browse files Browse the repository at this point in the history
  • Loading branch information
pditommaso committed Jul 13, 2020
1 parent dbbc97e commit da6580a
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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}}
Expand Down Expand Up @@ -131,4 +131,4 @@ nxf_main() {
{{after_script}}
}

$NXF_ENTRY
$NXF_ENTRY
Original file line number Diff line number Diff line change
Expand Up @@ -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=''
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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=''
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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}}
Expand Down

0 comments on commit da6580a

Please sign in to comment.