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
090772b098
commit
bc2c059580
@ -1420,7 +1420,7 @@ skip:
|
||||
|
||||
#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…
x
Reference in New Issue
Block a user