Author: gedmurphy
Date: Thu Apr 20 23:16:34 2006
New Revision: 21676
URL:
http://svn.reactos.ru/svn/reactos?rev=21676&view=rev
Log:
Don't open other files until the HTML has been written, just in case it fails.
Modified:
trunk/web/reactos.org/scripts/audit_progress.pl
Modified:
trunk/web/reactos.org/scripts/audit_progress.pl
URL:
http://svn.reactos.ru/svn/reactos/trunk/web/reactos.org/scripts/audit_progr…
==============================================================================
---
trunk/web/reactos.org/scripts/audit_progress.pl (original)
+++
trunk/web/reactos.org/scripts/audit_progress.pl Thu Apr 20 23:16:34 2006
@@ -40,13 +40,12 @@
$done_pct = 100;
}
+output_html();
+
open LOCK, "> $locked_files"
or die "couldn't open $locked_files for writing: $!\n";
-
print LOCK "Number of locked files: $unclean_files\n\n";
print LOCK @locked_files;
-
-output_html();
open LOG, ">> $log_file"
or die "couldn't open $log_file for writing: $!\n";