Replace _exit() with exit()

Pointed out by: Nathan Torkington <gnat@prometheus.frii.com> PR 5585
This commit is contained in:
rnordier 1998-05-05 00:28:51 +00:00
parent 46a3ce617a
commit 92afefeb0b

View File

@ -42,7 +42,7 @@ static const char copyright[] =
static const char sccsid[] = "@(#)rshd.c 8.2 (Berkeley) 4/6/94";
#endif
static const char rcsid[] =
"$Id$";
"$Id: rshd.c,v 1.20 1997/12/02 12:30:04 charnier Exp $";
#endif /* not lint */
/*
@ -171,7 +171,7 @@ main(argc, argv)
fromlen = sizeof (from);
if (getpeername(0, (struct sockaddr *)&from, &fromlen) < 0) {
syslog(LOG_ERR, "getpeername: %m");
_exit(1);
exit(1);
}
if (keepalive &&
setsockopt(0, SOL_SOCKET, SO_KEEPALIVE, (char *)&on,