summary refs log tree commit diff
path: root/hurd/hurdexec.c
diff options
context:
space:
mode:
Diffstat (limited to 'hurd/hurdexec.c')
-rw-r--r--hurd/hurdexec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hurd/hurdexec.c b/hurd/hurdexec.c
index fa35ce7d1b..2a283563b8 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.  */