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:
Brian Feldman 2001-01-21 05:45:27 +00:00
parent 11f3349f34
commit 926581ede3
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=71317

View file

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