aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@gmail.com>2016-10-17 17:22:38 +0100
committerPascal Terjan <pterjan@gmail.com>2016-10-17 17:22:51 +0100
commit40b8f338091af12d9a0fea81fd1db7d34b86ea46 (patch)
tree1c660e2037560c09e46745f574f9aad7a90d3ba0
parent6f4abb80806af4349ed9d90055c4024654678caf (diff)
downloadiurt-40b8f338091af12d9a0fea81fd1db7d34b86ea46.tar
iurt-40b8f338091af12d9a0fea81fd1db7d34b86ea46.tar.gz
iurt-40b8f338091af12d9a0fea81fd1db7d34b86ea46.tar.bz2
iurt-40b8f338091af12d9a0fea81fd1db7d34b86ea46.tar.xz
iurt-40b8f338091af12d9a0fea81fd1db7d34b86ea46.zip
Fix handling of failed builds causing a crash
This caused also to not send failure emails
-rw-r--r--NEWS1
-rwxr-xr-xlib/Iurt/Ulri.pm1
2 files changed, 2 insertions, 0 deletions
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(