Bug 11395: exit should be done after displaying the output
authorJonathan Druart <jonathan.druart@biblibre.com>
Fri, 10 Oct 2014 18:20:54 +0000 (20:20 +0200)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Thu, 5 Mar 2015 14:27:17 +0000 (15:27 +0100)
Signed-off-by: Brendan Gallagher <brendan@bywatersolutions.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
tools/batch_record_modification.pl

index d16b547..beb2b4c 100755 (executable)
@@ -73,6 +73,7 @@ unless ( @templates ) {
         errors => ['no_template_defined'],
     );
     output_html_with_http_headers $input, $cookie, $template->output;
+    exit;
 }
 
 if ( $mmtid ) {