From 40b8f338091af12d9a0fea81fd1db7d34b86ea46 Mon Sep 17 00:00:00 2001 From: Pascal Terjan Date: Mon, 17 Oct 2016 17:22:38 +0100 Subject: Fix handling of failed builds causing a crash This caused also to not send failure emails --- NEWS | 1 + lib/Iurt/Ulri.pm | 1 + 2 files changed, 2 insertions(+) diff --git a/NEWS b/NEWS index f91815b..1d68a19 100644 --- a/NEWS +++ b/NEWS @@ -3,6 +3,7 @@ - fix reuse of {arch} part of the tree which is used by ulri for both builds in progress and already done, while emi expects it to be only for done ones - iurt: write macros to /etc/rpm/macros in the chroot +- ulri: fix handling of failed builds causing a crash 0.6.26 - ulri: when failing to send a build to a machine do not try sending all the diff --git a/lib/Iurt/Ulri.pm b/lib/Iurt/Ulri.pm index 0f83897..254f7de 100755 --- a/lib/Iurt/Ulri.pm +++ b/lib/Iurt/Ulri.pm @@ -6,6 +6,7 @@ use File::Temp qw(mktemp); use Iurt::Config qw(get_author_email); use Iurt::File qw(check_file_timeout); use Iurt::Util qw(plog ssh_setup ssh sput); +use File::Slurp qw(read_file); use strict; our @EXPORT = qw( -- cgit v1.2.1