aboutsummaryrefslogtreecommitdiff
path: root/hurd
diff options
context:
space:
mode:
Diffstat (limited to 'hurd')
-rw-r--r--hurd/hurdexec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hurd/hurdexec.c b/hurd/hurdexec.c
index fa35ce7..2a28356 100644
--- a/hurd/hurdexec.c
+++ b/hurd/hurdexec.c
@@ -55,7 +55,7 @@ _hurd_exec (task_t task, file_t file,
return err;
if (envp == NULL)
env = NULL, envlen = 0;
- if (err = __argz_create (envp, &env, &envlen))
+ else if (err = __argz_create (envp, &env, &envlen))
goto outargs;
/* Load up the ports to give to the new program. */