Fix accidentally committed debug message

Was added Oct 18 2021
"Only redirect stderr after the session login."
This commit is contained in:
Matt Johnston 2022-01-22 12:46:08 +08:00
parent 483b427335
commit 18be2a6509

View File

@ -851,7 +851,6 @@ static int ptycommand(struct Channel *channel, struct ChanSess *chansess) {
* the wtmp login will not be recorded */
li = chansess_login_alloc(chansess);
login_login(li);
dropbear_log(LOG_WARNING, "bad thing happened");
login_free_entry(li);
/* Can now dup2 stderr. Messages from login_login() have gone