Move away the old log file before starting the tinderbox so we don't
accidentally post the old log if the tinderbox script failed to start altogether.
This commit is contained in:
parent
0fb179fc08
commit
293057394b
@ -74,6 +74,7 @@ sub tinderbox($$$$) {
|
||||
push(@args, @TARGETS);
|
||||
|
||||
print(STDERR join(' ', @args), "\n");
|
||||
rename($logfile, "$logfile.old");
|
||||
if (system(@args) != 0) {
|
||||
my $messages = "";
|
||||
my @accumulate;
|
||||
|
Loading…
Reference in New Issue
Block a user