From 707472e01db0a163dc40f2e4e7a5db3bc39f9819 Mon Sep 17 00:00:00 2001 From: Thomas Gambier <thomas.gambier@nexedi.com> Date: Wed, 19 Feb 2025 00:42:28 +0100 Subject: [PATCH] Revert "slapos.cookbook: don't use 'sh -e' shebang in createWrapper" This reverts commit 95b1d7df50da34bff85bfe255d10415e6cff0246 as testnodes were upgraded. --- slapos/recipe/librecipe/generic.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slapos/recipe/librecipe/generic.py b/slapos/recipe/librecipe/generic.py index 6c517e71e..57720abf6 100644 --- a/slapos/recipe/librecipe/generic.py +++ b/slapos/recipe/librecipe/generic.py @@ -169,7 +169,7 @@ class GenericBaseRecipe(object): # here (note that this can't be done correctly with a POSIX shell, because # the process can't be given a name). - lines = ['#!/bin/sh'] + lines = ['#!/bin/sh -e'] if sig_ign: lines.append("trap '' " + sig_ign) -- GitLab