Skip to content

Commit 95b1d7d

Browse files
committed
slapos.cookbook: don't use 'sh -e' shebang in createWrapper
This partially reverts f834a06. This shebang was causing issues with testnodes. See https://lab.nexedi.com/nexedi/slapos/-/commit/f834a06f32588f899dc4235c245db5c6ae3f659a#note_228158
1 parent caa62c1 commit 95b1d7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

slapos/recipe/librecipe/generic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ def createWrapper(self, path, args, env=None, sig_ign=None, **kw):
169169
# here (note that this can't be done correctly with a POSIX shell, because
170170
# the process can't be given a name).
171171

172-
lines = ['#!/bin/sh -e']
172+
lines = ['#!/bin/sh']
173173

174174
if sig_ign:
175175
lines.append("trap '' " + sig_ign)

0 commit comments

Comments
 (0)