diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Iurt/Chroot.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Iurt/Chroot.pm b/lib/Iurt/Chroot.pm index c626dbc..b5cb7dd 100644 --- a/lib/Iurt/Chroot.pm +++ b/lib/Iurt/Chroot.pm @@ -570,7 +570,7 @@ sub build_chroot { if (-d "$tmp_chroot/urpmi_medias/") { system("$sudo umount $tmp_chroot/urpmi_medias"); } - return !system($sudo, 'tar', 'czf', $chroot_tar, '-C', $tmp_chroot, '.'); + return sudo($run, $config, "--tar", $chroot_tar, $tmp_chroot); } sub check_build_chroot { |