summaryrefslogtreecommitdiffstats
path: root/urpmi.addmedia
diff options
context:
space:
mode:
Diffstat (limited to 'urpmi.addmedia')
-rwxr-xr-xurpmi.addmedia1
1 files changed, 1 insertions, 0 deletions
diff --git a/urpmi.addmedia b/urpmi.addmedia
index dcc030e2..7569c745 100755
--- a/urpmi.addmedia
+++ b/urpmi.addmedia
@@ -119,6 +119,7 @@ and [options] are from
if (exists $options{distrib}) {
if (defined $options{distrib}) {
+ $name or die $usage;
#- extended distribution support, code is directly inlined here.
#- -h always set, updates should allow setting update flag.
$options{probe_with_hdlist} = 1;