summaryrefslogtreecommitdiffstats
path: root/perl-install/commands.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/commands.pm')
-rw-r--r--perl-install/commands.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/commands.pm b/perl-install/commands.pm
index 6a6869a0a..2e8ffc146 100644
--- a/perl-install/commands.pm
+++ b/perl-install/commands.pm
@@ -561,6 +561,8 @@ sub install_cpio($$;@) {
sub bug {
my ($h) = getopts(\@_, "h");
$h and die "usage: bug\nput file report.bug on fat formatted floppy\n";
+
+ require detect_devices;
mount devices::make(first(detect_devices::floppies())), "/fd0";
sub header { "
@@ -568,7 +570,6 @@ sub bug {
* $_[0]
********************************************************************************";
}
- require detect_devices;
local $\ = "\n";
output "/fd0/report.bug", map { chomp; $_ }