aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xgurpmi.addmedia4
1 files changed, 2 insertions, 2 deletions
diff --git a/gurpmi.addmedia b/gurpmi.addmedia
index ecedf817..a499fff9 100755
--- a/gurpmi.addmedia
+++ b/gurpmi.addmedia
@@ -71,14 +71,14 @@ if ($url !~ m,^(file://|ftp://|http://|removable://), || $with && !$with_hdlist)
myexit(-1);
}
-$fromfile and interactive_msg('gurpmi.addmedia',
+$fromfile and do { interactive_msg('gurpmi.addmedia',
N("%s
Is it ok to continue?",
N("You are about to add a new packages medium, `%s'.
That means you will be able to add new software packages
to your system from that new medium.", $name)),
- yesno => 1) or myexit(-1);
+ yesno => 1) or myexit(-1) };
my $urpm = urpm->new;
$urpm->read_config;