mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-15 10:17:20 +00:00
Mention it in the log file when we HUP a process that
controls a link.
This commit is contained in:
parent
569e965893
commit
4518b0757f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=60863
@ -340,6 +340,8 @@ physical_Close(struct physical *p)
|
||||
throughput_log(&p->link.throughput, LogPHASE, p->link.name);
|
||||
|
||||
if (p->session_owner != (pid_t)-1) {
|
||||
log_Printf(LogPHASE, "%s: HUPing %d\n", p->link.name,
|
||||
(int)p->session_owner);
|
||||
ID0kill(p->session_owner, SIGHUP);
|
||||
p->session_owner = (pid_t)-1;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user