diff --git a/contrib/telnet/telnetd/sys_term.c b/contrib/telnet/telnetd/sys_term.c index 385655d68d3..419f4fbe2e0 100644 --- a/contrib/telnet/telnetd/sys_term.c +++ b/contrib/telnet/telnetd/sys_term.c @@ -1327,5 +1327,5 @@ cleanup(int sig __unused) (void)chmod(line, 0666); (void)chown(line, 0, 0); (void) shutdown(net, 2); - exit(1); + _exit(1); } diff --git a/crypto/telnet/telnetd/sys_term.c b/crypto/telnet/telnetd/sys_term.c index 385655d68d3..419f4fbe2e0 100644 --- a/crypto/telnet/telnetd/sys_term.c +++ b/crypto/telnet/telnetd/sys_term.c @@ -1327,5 +1327,5 @@ cleanup(int sig __unused) (void)chmod(line, 0666); (void)chown(line, 0, 0); (void) shutdown(net, 2); - exit(1); + _exit(1); } diff --git a/libexec/telnetd/sys_term.c b/libexec/telnetd/sys_term.c index 3d9e091b5e4..089b0dbf39d 100644 --- a/libexec/telnetd/sys_term.c +++ b/libexec/telnetd/sys_term.c @@ -1180,5 +1180,5 @@ cleanup(int sig __unused) (void)chmod(line, 0666); (void)chown(line, 0, 0); (void) shutdown(net, 2); - exit(1); + _exit(1); }