| 74 |
|
_exit(signo); |
| 75 |
|
|
| 76 |
|
#ifdef SIGALRM |
| 77 |
< |
alarm(15); /* allow 15 seconds to clean up */ |
| 77 |
> |
alarm(180); /* allow 3 minutes to clean up */ |
| 78 |
|
signal(SIGALRM, SIG_DFL); /* make certain we do die */ |
| 79 |
|
#endif |
| 80 |
|
eputs("signal - "); |
| 495 |
|
time_t tnow; |
| 496 |
|
if (!getRayBundle(odarr)) |
| 497 |
|
goto readerr; |
| 498 |
< |
if (myRCmanager.ComputeRecord(odarr) < 0) |
| 498 |
> |
if (myRCmanager.ComputeRecord(odarr) <= 0) |
| 499 |
|
return; // error reported, hopefully... |
| 500 |
|
r++; |
| 501 |
|
if (report_intvl <= 0) |
| 521 |
|
const char *s |
| 522 |
|
) |
| 523 |
|
{ |
| 524 |
+ |
if (!erract[WARNING].pf) return; |
| 525 |
|
int lasterrno = errno; |
| 526 |
|
eputs(s); |
| 527 |
|
errno = lasterrno; |