summaryrefslogtreecommitdiffstats
path: root/qmail-rspawn.c
diff options
context:
space:
mode:
authormanuel <manuel@mausz.at>2019-05-28 11:19:13 +0200
committermanuel <manuel@mausz.at>2019-05-28 11:19:13 +0200
commit54bb1142daa7c25f626176bb9357e1fc7ca75fbb (patch)
tree6ae2e9d65ebb1d939767cd6234b337b515fbc89f /qmail-rspawn.c
parent311345a4716ee14888a8e02630897d7d0c274be4 (diff)
downloadqmail-54bb1142daa7c25f626176bb9357e1fc7ca75fbb.tar.gz
qmail-54bb1142daa7c25f626176bb9357e1fc7ca75fbb.tar.bz2
qmail-54bb1142daa7c25f626176bb9357e1fc7ca75fbb.zip
Only do deferrals in case qmail-remote does not spawn
Diffstat (limited to 'qmail-rspawn.c')
-rw-r--r--qmail-rspawn.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/qmail-rspawn.c b/qmail-rspawn.c
index 40e5d52..0177c8b 100644
--- a/qmail-rspawn.c
+++ b/qmail-rspawn.c
@@ -32,8 +32,9 @@ int len;
32 switch(wait_exitcode(wstat)) 32 switch(wait_exitcode(wstat))
33 { 33 {
34 case 0: break; 34 case 0: break;
35 default:
35 case 111: substdio_puts(ss,"ZUnable to run qmail-remote.\n"); return; 36 case 111: substdio_puts(ss,"ZUnable to run qmail-remote.\n"); return;
36 default: substdio_puts(ss,"DUnable to run qmail-remote.\n"); return; 37 //default: substdio_puts(ss,"DUnable to run qmail-remote.\n"); return;
37 } 38 }
38 if (!len) 39 if (!len)
39 { substdio_puts(ss,"Zqmail-remote produced no output.\n"); return; } 40 { substdio_puts(ss,"Zqmail-remote produced no output.\n"); return; }