aboutsummaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2019-11-01 20:03:08 +0000
committerDaniel Eklöf <daniel@ekloef.se>2019-11-01 20:03:08 +0000
commit0bd2ddd8ad60a77e27cdb459da8e319647fd6f59 (patch)
treec75bb8293570d15cb53b5dc0b7dd3adf977c76e1 /main.c
parentslave: set TERM environment variable in slave process (diff)
term_init(): initialize slave TERM from term_init() argument
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index c1abe5bc..26a8f300 100644
--- a/main.c
+++ b/main.c
@@ -174,7 +174,7 @@ main(int argc, char *const *argv)
if ((wayl = wayl_init(fdm)) == NULL)
goto out;
- if (!as_server && (term = term_init(&conf, fdm, wayl, argc, argv,
+ if (!as_server && (term = term_init(&conf, fdm, wayl, conf.term, argc, argv,
&term_shutdown_cb, &shutdown_ctx)) == NULL)
goto out;