summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/install/NEWS3
-rw-r--r--perl-install/install/commands.pm1
2 files changed, 4 insertions, 0 deletions
diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS
index e7f1c631f..5aa705ef7 100644
--- a/perl-install/install/NEWS
+++ b/perl-install/install/NEWS
@@ -1,3 +1,6 @@
+- bug:
+ o display a nicer message when no removable medium is found (mga#14435)
+
Version 16.57 - 11 February 2015
- fix taking screenshots on UEFI 24bit bpp framebuffer (mga#13684)
diff --git a/perl-install/install/commands.pm b/perl-install/install/commands.pm
index 9df55cbb7..79f49b980 100644
--- a/perl-install/install/commands.pm
+++ b/perl-install/install/commands.pm
@@ -402,6 +402,7 @@ sub bug {
require install::any;
my @devs = install::any::removable_media__early_in_install();
+ @devs or die "You need to plug a removable medium (USB key, floppy, ...)\n";
$part = $in->ask_from_listf('', "Which device?", \&partition_table::description,
\@devs) or return;