summaryrefslogtreecommitdiff
path: root/libexec
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2001-11-02 16:20:14 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2001-11-02 16:20:14 +0000
commit4b04812d48ab55704a52929c162801889cfb7315 (patch)
treeda299d4d2501f36217abe677759f4fc66bf23670 /libexec
parent9a220fbad5dd513de55c52e6eb1152e0f0783100 (diff)
_exit() in signal handler
Diffstat (limited to 'libexec')
-rw-r--r--libexec/telnetd/sys_term.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libexec/telnetd/sys_term.c b/libexec/telnetd/sys_term.c
index e0bf301bd93..d4675c67349 100644
--- a/libexec/telnetd/sys_term.c
+++ b/libexec/telnetd/sys_term.c
@@ -1653,7 +1653,7 @@ cleanup(int sig)
chown(line, 0, 0);
#endif
shutdown(net, 2);
- exit(1);
+ _exit(1);
}
#endif /* PARENT_DOES_UTMP */