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 b24c800..5ed6753 100644
--- a/lib/Iurt/Chroot.pm
+++ b/lib/Iurt/Chroot.pm
@@ -445,7 +445,7 @@ sub create_chroot {
}
} else {
plog('DEBUG', "decompressing /var/log/qa from $chroot_tar in $tmp_chroot");
- system($sudo, 'tar', 'xf', $chroot_tar, '-C', $tmp_chroot, "./var/log/qa");
+ sudo($run, $config, '--untar', $chroot_tar, $tmp_chroot, "./var/log/qa");
my $qa;
if (open $qa, "$tmp_chroot/var/log/qa") {