summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--utils/login.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/utils/login.c b/utils/login.c
index 82ca9ea0..02d64799 100644
--- a/utils/login.c
+++ b/utils/login.c
@@ -990,8 +990,7 @@ main(int argc, char *argv[])
}
}
- err = file_exec (exec, mach_task_self (),
- EXEC_NEWTASK | EXEC_DEFAULTS | EXEC_SECURE,
+ err = file_exec (exec, mach_task_self (), EXEC_DEFAULTS,
sh_args, sh_args_len, env, env_len,
fds, MACH_MSG_TYPE_COPY_SEND, 3,
ports, MACH_MSG_TYPE_COPY_SEND, INIT_PORT_MAX,