aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Iurt
diff options
context:
space:
mode:
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 da590ab..8278ee7 100644
--- a/lib/Iurt/Chroot.pm
+++ b/lib/Iurt/Chroot.pm
@@ -461,6 +461,7 @@ sub create_chroot {
}
} else {
plog('NOTIFY', "Chroot tarball is already up-to-date");
+ link $tmp_tar, $chroot_tar;
}
} else {
plog('DEBUG', "can't open $tmp_chroot/var/log/qa");
@@ -473,7 +474,6 @@ sub create_chroot {
}
}
}
- link $tmp_tar, $chroot_tar;
if (!-d $chroot || $rebuild) {
plog('DEBUG', "recreate chroot $chroot");