aboutsummaryrefslogtreecommitdiff
path: root/terminal.c
diff options
context:
space:
mode:
Diffstat (limited to 'terminal.c')
-rw-r--r--terminal.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/terminal.c b/terminal.c
index 81592710..6b8ed69d 100644
--- a/terminal.c
+++ b/terminal.c
@@ -943,7 +943,8 @@ term_init(const struct config *conf, struct fdm *fdm, struct reaper *reaper,
/* Start the slave/client */
if ((term->slave = slave_spawn(
term->ptmx, argc, term->cwd, argv,
- conf->term, conf->shell, conf->login_shell)) == -1)
+ conf->term, conf->shell, conf->login_shell,
+ &conf->warnings)) == -1)
{
goto err;
}