summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2023-12-20 15:38:00 +0000
committerLaurent Bercot <ska@appnovation.com>2023-12-20 15:38:00 +0000
commit97f9453b524d8163288230d545c1d9d0c284ca5e (patch)
tree5fa1a6fdc39fada955ea3b6a3837f98bbf0c51b1
parent82986aad3d49f406fdeef7365bc050eb31d451fd (diff)
downloadexecline-97f9453b524d8163288230d545c1d9d0c284ca5e.tar.xz
No, really
Signed-off-by: Laurent Bercot <ska@appnovation.com>
-rw-r--r--src/libexecline/el_modif_and_spawn.c2
1 files changed, 1 insertions, 1 deletions
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 ;