diff options
Diffstat (limited to 'src/qmail-queue.c')
-rw-r--r-- | src/qmail-queue.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/qmail-queue.c b/src/qmail-queue.c index ee9a3df..26807b2 100644 --- a/src/qmail-queue.c +++ b/src/qmail-queue.c @@ -62,25 +62,30 @@ void die(int e) { _exit(e); } + void die_qhpsi() { cleanup(); die(71); } + void die_write() { cleanup(); die(53); } + void die_read() { cleanup(); die(54); } + void sigalrm() { /* thou shalt not clean up here */ die(52); } + void sigbug() { die(81); @@ -263,8 +268,9 @@ void qhpsiprog(char *arg) if (childrc == qhpsirc) { cleanup(); die(32); - } else if (childrc != 0) + } else if (childrc != 0) { die_qhpsi(); + } } } |