slave: exec shell from conf

This commit is contained in:
Daniel Eklöf 2019-07-17 09:30:39 +02:00
parent 19aaa7b774
commit 153894eb73
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
3 changed files with 89 additions and 4 deletions

2
main.c
View file

@ -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;