From 97f9453b524d8163288230d545c1d9d0c284ca5e Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Wed, 20 Dec 2023 15:38:00 +0000 Subject: No, really Signed-off-by: Laurent Bercot --- src/libexecline/el_modif_and_spawn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libexecline/el_modif_and_spawn.c b/src/libexecline/el_modif_and_spawn.c index 0070052..863ca92 100644 --- a/src/libexecline/el_modif_and_spawn.c +++ b/src/libexecline/el_modif_and_spawn.c @@ -21,7 +21,7 @@ pid_t el_modif_and_spawn (char const *const *argv, char const *var, char const * modifs[varlen] = '=' ; memcpy(modifs + varlen + 1, value, modiflen - varlen - 1) ; } - if (!env_mergen(newenv, envlen + 2, (char const *const *)environ, envlen, value ? modifs : var, value ? modiflen : varlen + 1, 1)) return 0 ; + env_mergen(newenv, envlen + 2, (char const *const *)environ, envlen, value ? modifs : var, value ? modiflen : varlen + 1, 1) ; if (doimport) { size_t m = 0 ; -- cgit 1.4.1