diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2020-02-20 17:36:09 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2020-02-20 17:36:09 +0000 |
| commit | b5efe984bbfec151b70d3450f4f18243313de497 (patch) | |
| tree | 7eb36e6dc8d96120ffdf2081b365c1c161cda17c /main.c | |
| parent | config: add 'login-shell' option (diff) | |
slave: prefix argv[0] with a '-' when spawning a login-shell
Diffstat (limited to 'main.c')
| -rw-r--r-- | main.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -332,7 +332,8 @@ main(int argc, char *const *argv) goto out; if (!as_server && (term = term_init( - &conf, fdm, wayl, conf.term, "foot", cwd, argc, argv, + &conf, fdm, wayl, conf.term, conf.login_shell, + "foot", cwd, argc, argv, &term_shutdown_cb, &shutdown_ctx)) == NULL) { free(cwd); goto out; |
