aboutsummaryrefslogtreecommitdiff
path: root/terminal.c
diff options
context:
space:
mode:
Diffstat (limited to 'terminal.c')
-rw-r--r--terminal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/terminal.c b/terminal.c
index 9aadd549..9259cfd5 100644
--- a/terminal.c
+++ b/terminal.c
@@ -436,7 +436,7 @@ term_init(const struct config *conf, struct fdm *fdm, struct wayland *wayl,
shell_argv = _shell_argv;
}
- slave_spawn(ptmx, shell_argv, fork_pipe[1]);
+ slave_exec(ptmx, shell_argv, fork_pipe[1]);
assert(false);
break;