aboutsummaryrefslogtreecommitdiffstats
path: root/iurt2
diff options
context:
space:
mode:
Diffstat (limited to 'iurt2')
-rwxr-xr-xiurt25
1 files changed, 4 insertions, 1 deletions
diff --git a/iurt2 b/iurt2
index c0daad4..bed57d9 100755
--- a/iurt2
+++ b/iurt2
@@ -867,7 +867,10 @@ retry:
$union_id = $u_id;
}
- $urpmi->urpmi_command($chroot_tmp, $luser);
+ if (!$urpmi->urpmi_command($chroot_tmp, $luser)) {
+ plog('DEBUG', "Creating chroot failed.\nCommand was: $chroot_tmp");
+ next;
+ };
$srpm =~ /(.*)-[^-]+-[^-]+\.src\.rpm$/ or next;
my ($maintainer, $cc);
if (!$run{warn}) {