diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2024-07-21 16:29:04 +0000 |
---|---|---|
committer | Laurent Bercot <ska@appnovation.com> | 2024-07-21 16:29:04 +0000 |
commit | fc71ed0e88d4ef910b504a96172bcc4a604aca8e (patch) | |
tree | 43d5179f88d9db8324ce285d32c647381140a705 /src | |
parent | 723e6638b81408b44a0a8450a84084a9e514898e (diff) | |
download | execline-fc71ed0e88d4ef910b504a96172bcc4a604aca8e.tar.xz |
Fix runblock segv
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/execline/runblock.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/execline/runblock.c b/src/execline/runblock.c index 1173cd9..7d507dc 100644 --- a/src/execline/runblock.c +++ b/src/execline/runblock.c @@ -139,7 +139,7 @@ int main (int argc, char const *const *argv, char const *const *envp) } if (flagnopop) /* exec now */ - xexec_e(genalloc_s(char const *, &v), envp) ; + xexec0_e(genalloc_s(char const *, &v), envp) ; else /* popenv, then exec */ { char const *list[11] = { "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "#" } ; @@ -152,7 +152,7 @@ int main (int argc, char const *const *argv, char const *const *envp) if (!env_make(w, envlen - popped, satmp.s, satmp.len)) strerr_diefu1sys(111, "env_make") ; w[envlen - popped] = 0 ; - xexec_e(genalloc_s(char const *, &v), w) ; + xexec0_e(genalloc_s(char const *, &v), w) ; } } } |