diff options
author | green <green@FreeBSD.org> | 2001-01-21 05:45:27 +0000 |
---|---|---|
committer | green <green@FreeBSD.org> | 2001-01-21 05:45:27 +0000 |
commit | 42801d85d9f62297f71a73a15331cd3cc48a108f (patch) | |
tree | 3a766c551b2b80a3bbfce34d2b1ac01836390236 /crypto/openssh | |
parent | 137b76e8468ffeda29434bad4703749720ef6ce3 (diff) | |
download | FreeBSD-src-42801d85d9f62297f71a73a15331cd3cc48a108f.zip FreeBSD-src-42801d85d9f62297f71a73a15331cd3cc48a108f.tar.gz |
Actually propagate back to the rest of the application that a command
was specified when using -t mode with the SSH client.
Submitted by: Dima Dorfman <dima@unixfreak.org>
Diffstat (limited to 'crypto/openssh')
-rw-r--r-- | crypto/openssh/session.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/openssh/session.c b/crypto/openssh/session.c index 887195b..df1a241 100644 --- a/crypto/openssh/session.c +++ b/crypto/openssh/session.c @@ -705,7 +705,7 @@ do_login(Session *s, const char *command) /* Done if .hushlogin exists or a command given. */ if (command != NULL) - return; + return newcommand; snprintf(buf, sizeof(buf), "%.200s/.hushlogin", pw->pw_dir); #ifdef HAVE_LOGIN_CAP lc = login_getpwclass(pw); |