diff options
author | Ray Lai <ray@cvs.openbsd.org> | 2007-03-25 23:36:00 +0000 |
---|---|---|
committer | Ray Lai <ray@cvs.openbsd.org> | 2007-03-25 23:36:00 +0000 |
commit | 94b1bc93ad4f73d739fd82448ba4c15286ceacd6 (patch) | |
tree | 015a62b430bd2494f7d340a44a934bebcf2dea67 /usr.bin/sendbug/sendbug.c | |
parent | da13b71ff6669120cd97cd987c4e8cf90b55f4f0 (diff) |
fork() does not return EPROCLIM, so don't test for it.
Diffstat (limited to 'usr.bin/sendbug/sendbug.c')
-rw-r--r-- | usr.bin/sendbug/sendbug.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/usr.bin/sendbug/sendbug.c b/usr.bin/sendbug/sendbug.c index cab9ed22a78..f2906b1806a 100644 --- a/usr.bin/sendbug/sendbug.c +++ b/usr.bin/sendbug/sendbug.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sendbug.c,v 1.19 2007/03/25 23:27:38 deraadt Exp $ */ +/* $OpenBSD: sendbug.c,v 1.20 2007/03/25 23:35:59 ray Exp $ */ /* * Written by Ray Lai <ray@cyth.net>. @@ -186,11 +186,6 @@ editit(char *tmpfile) (void)signal(SIGHUP, SIG_DFL); (void)signal(SIGINT, SIG_DFL); (void)signal(SIGQUIT, SIG_DFL); - if (saved_errno == EPROCLIM) { - warnx("you have too many processes"); - free(p); - return (-1); - } if (saved_errno == EAGAIN) { sleep(1); goto top; |