X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/f51dc0319e586d5809cc251a9767d23638610694..c8ee61b938e106e6638bf5973401fcfa98900286:/unix/pterm.c diff --git a/unix/pterm.c b/unix/pterm.c index c5d742c0..769f728b 100644 --- a/unix/pterm.c +++ b/unix/pterm.c @@ -1283,7 +1283,6 @@ char *get_x_display(void) int main(int argc, char **argv) { extern int pty_master_fd; /* declared in pty.c */ - extern int pty_stamp_utmp; /* declared in pty.c */ extern char **pty_argv; /* declared in pty.c */ int err = 0; @@ -1331,7 +1330,10 @@ int main(int argc, char **argv) cfg.hide_mouseptr = 1; } if (!strcmp(p, "-ut-")) { - pty_stamp_utmp = 0; + cfg.stamp_utmp = 0; + } + if (!strcmp(p, "-ls-")) { + cfg.login_shell = 0; } if (!strcmp(p, "-nethack")) { cfg.nethack_keypad = 1;