Use _exit, not exit in forked process

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division
This commit is contained in:
ngie 2015-04-10 09:37:53 +00:00
parent 592f72c342
commit 2af61a7943

View File

@ -170,7 +170,7 @@ main(void)
errx(-1, "connect: %s", strerror(errno));
close(s);
}
exit(0);
_exit(0);
}
/* Reset back to a blocking socket. */