From 038b173945c77cb80c531dedb680565ebebe2955 Mon Sep 17 00:00:00 2001 From: Pascal Terjan Date: Wed, 1 Feb 2023 20:31:28 +0000 Subject: ulri: Fix a crash after build failures --- NEWS | 3 +++ iurt | 2 +- ulri | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/NEWS b/NEWS index 9524549..b816fba 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,6 @@ +0.8.2.2 +- ulri: Fix a crash after build failures + 0.8.2.1 - Fix syntax checks to use local tree diff --git a/iurt b/iurt index 0a6e309..b8c374e 100755 --- a/iurt +++ b/iurt @@ -324,7 +324,7 @@ plog_init($program_name, $run{logfd} || $LOG, 7, 1); # For parsing command line # Display version information # -my $version = '0.8.2.1'; +my $version = '0.8.2.2'; plog("MSG", "This is iurt version $version"); my $todo = parseCommandLine($program_name, \@ARGV, \@params); diff --git a/ulri b/ulri index 03c425b..b814708 100755 --- a/ulri +++ b/ulri @@ -306,7 +306,7 @@ foreach my $prefix (keys %pkg_tree) { plog('FAIL', "$bot died on $host/$arch (status $proc_state), removing lock"); } - fetch_and_delete_logs($remote, "$prefix_dir/log", "$fail_dir/$prefix"); + fetch_logs_and_cleanup($remote, $prefix_dir, "$done_dir/$prefix"); record_bot_complete(\%run, $bot, $arch, $lock_file, $prefix, $ent, $media, $host, $pid); next bot; -- cgit v1.2.1