From 84c4ac6ed24d8cfb52858136405ca3f43f96d98d Mon Sep 17 00:00:00 2001 From: Pascal Terjan Date: Wed, 27 Apr 2011 23:07:35 +0000 Subject: Fail in create_temp_chroot of clean_chroot returned an error --- lib/Iurt/Chroot.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Iurt/Chroot.pm') 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; -- cgit v1.2.1