aboutsummaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2019-07-17 07:30:39 +0000
committerDaniel Eklöf <daniel@ekloef.se>2019-07-17 07:30:39 +0000
commit153894eb73a26b912d5dc0581f93b3527244cf12 (patch)
tree94a50b7ae11799e8cc84d1f000e8f4823cc8a555 /main.c
parentconf: get user's shell (diff)
slave: exec shell from conf
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 5c9392f8..7e4cd1e9 100644
--- a/main.c
+++ b/main.c
@@ -548,7 +548,7 @@ main(int argc, char *const *argv)
case 0:
/* Child */
- slave_spawn(term.ptmx);
+ slave_spawn(term.ptmx, conf.shell);
assert(false);
break;