chiark / gitweb /
Make multiple actions actually work (don't fclose too soon)
authorIan Jackson <ian@liberator.relativity.greenend.org.uk>
Wed, 5 Aug 2009 23:51:44 +0000 (00:51 +0100)
committerIan Jackson <ian@liberator.relativity.greenend.org.uk>
Wed, 5 Aug 2009 23:51:44 +0000 (00:51 +0100)
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.");
 }