aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Iurt
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mageia.org>2011-04-27 23:07:35 +0000
committerPascal Terjan <pterjan@mageia.org>2011-04-27 23:07:35 +0000
commit84c4ac6ed24d8cfb52858136405ca3f43f96d98d (patch)
treeb948e301ed9e02d4b097a1765b9396bbabcc9cb4 /lib/Iurt
parentf7aa5e9ae83d55848e4a937dc2e352d6727b5584 (diff)
downloadiurt-84c4ac6ed24d8cfb52858136405ca3f43f96d98d.tar
iurt-84c4ac6ed24d8cfb52858136405ca3f43f96d98d.tar.gz
iurt-84c4ac6ed24d8cfb52858136405ca3f43f96d98d.tar.bz2
iurt-84c4ac6ed24d8cfb52858136405ca3f43f96d98d.tar.xz
iurt-84c4ac6ed24d8cfb52858136405ca3f43f96d98d.zip
Fail in create_temp_chroot of clean_chroot returned an error
Diffstat (limited to 'lib/Iurt')
-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;