aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/Iurt/Chroot.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Iurt/Chroot.pm b/lib/Iurt/Chroot.pm
index a046e02..33a1ef3 100644
--- a/lib/Iurt/Chroot.pm
+++ b/lib/Iurt/Chroot.pm
@@ -277,7 +277,7 @@ sub create_temp_chroot {
} else {
plog("Install new chroot");
plog('DEBUG', "... in $chroot_tmp");
- clean_chroot($chroot_tmp, $chroot_tar, $run, $config);
+ clean_chroot($chroot_tmp, $chroot_tar, $run, $config) or return;
update_chroot($chroot_tmp, $run, $config);
}
$union_id, $chroot_tmp;