server: Don't report a fatal protocol error for things that we can recover from.
diff --git a/server/request.c b/server/request.c
index 9ae5fa4..a78916e 100644
--- a/server/request.c
+++ b/server/request.c
@@ -293,7 +293,11 @@
if (debug_level) trace_reply( req, &reply );
send_reply( &reply );
}
- else fatal_protocol_error( current, "no reply fd for request %d\n", req );
+ else
+ {
+ current->exit_code = 1;
+ kill_thread( current, 1 ); /* no way to continue without reply fd */
+ }
}
current = NULL;
}