mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-19 08:13:57 +00:00
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>
This commit is contained in:
parent
11f3349f34
commit
926581ede3
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=71317
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue