Skip to content

Commit d41dfc0

Browse files
authored
Merge pull request #189 from rkdarst/pipefail
batchspawner/batchspawner: Don't use `-o pipefail` in /bin/sh scripts
2 parents bc238a0 + df7fd8f commit d41dfc0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

batchspawner/batchspawner.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -504,7 +504,7 @@ class TorqueSpawner(BatchSpawnerRegexStates):
504504
#PBS -v {keepvars}
505505
#PBS {options}
506506
507-
set -euo pipefail
507+
set -eu
508508
509509
{prologue}
510510
{cmd}
@@ -545,7 +545,7 @@ class PBSSpawner(TorqueSpawner):
545545
#PBS -v {{keepvars}}
546546
{% if options %}#PBS {{options}}{% endif %}
547547
548-
set -euo pipefail
548+
set -eu
549549
550550
{{prologue}}
551551
{{cmd}}
@@ -784,7 +784,7 @@ class LsfSpawner(BatchSpawnerBase):
784784
#BSUB -o {homedir}/.jupyterhub.lsf.out
785785
#BSUB -e {homedir}/.jupyterhub.lsf.err
786786
787-
set -euo pipefail
787+
set -eu
788788
789789
{prologue}
790790
{cmd}

0 commit comments

Comments
 (0)