chiark / gitweb /
Make multiple actions actually work (don't fclose too soon)
[ypp-sc-tools.main.git] / yarrg / convert.c
index 3c9ae9c..adccb1c 100644 (file)
@@ -117,9 +117,9 @@ static void run_analysis(void) {
     }
 
     waitpid_check_exitstatus(processor, "output processor/uploader", 0);
-    fclose(tf);
   }
   
+  fclose(tf);
   progress_log("all complete.");
 }