aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/Iurt/Chroot.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Iurt/Chroot.pm b/lib/Iurt/Chroot.pm
index e37b6d8..e3ca280 100644
--- a/lib/Iurt/Chroot.pm
+++ b/lib/Iurt/Chroot.pm
@@ -313,6 +313,7 @@ sub create_build_chroot {
return;
}
sudo($config, "--tar", $chroot_tar, $tmp_chroot);
+ rename $tmp_chroot, $chroot;
}
if (!-d $chroot) {