diff --git a/src/main.c b/src/main.c
index 0722403fac4f885883d6a9c1765ab081a408037f..877f61bab7e9bdc4cb1544b1daf643cde661662a 100644 (file)
--- a/src/main.c
+++ b/src/main.c
if (i >= actions_num)
status = action_usage ();
- fflush (stdout);
- fclose (stdout);
+ /* Call finish before updating the graph list, so clients don't wait for
+ * the update to finish. */
+ FCGI_Finish ();
gl_update (/* request_served = */ 1);