Don't let a user name in ftpd's proctitle
be mistaken for a status message. PR: misc/25217 MFC after: 7 days
This commit is contained in:
parent
11342ab1d0
commit
7a29d7da50
@ -1420,7 +1420,7 @@ pass(passwd)
|
||||
|
||||
#ifdef SETPROCTITLE
|
||||
snprintf(proctitle, sizeof(proctitle),
|
||||
"%s: %s", remotehost, pw->pw_name);
|
||||
"%s: user/%s", remotehost, pw->pw_name);
|
||||
setproctitle("%s", proctitle);
|
||||
#endif /* SETPROCTITLE */
|
||||
if (logging)
|
||||
|
Loading…
Reference in New Issue
Block a user