diff options
-rw-r--r-- | lib/Iurt/Urpmi.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Iurt/Urpmi.pm b/lib/Iurt/Urpmi.pm index 2cc01c3..4343f8f 100644 --- a/lib/Iurt/Urpmi.pm +++ b/lib/Iurt/Urpmi.pm @@ -126,7 +126,7 @@ sub urpmi_command { # Check if the media is not empty, as add_media will abort if it fails my $DP; - if (!opendir ($DP, $url)) { + if (!opendir ($DP, "$chroot_tmp/$url")) { plog ('ERROR', "Failed to add additional media at $url: $!"); next; } |