summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-10-20 16:52:22 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-10-20 16:52:22 +0000
commite8a7072ea3119f1b93527d9bdca720e80b699350 (patch)
treef49c6859dadb75d1f79cd1be2ee946fdd32a76fc
parent21bd24a5b667942d83eb892c932f97c98c525478 (diff)
downloaddrakx-e8a7072ea3119f1b93527d9bdca720e80b699350.tar
drakx-e8a7072ea3119f1b93527d9bdca720e80b699350.tar.gz
drakx-e8a7072ea3119f1b93527d9bdca720e80b699350.tar.bz2
drakx-e8a7072ea3119f1b93527d9bdca720e80b699350.tar.xz
drakx-e8a7072ea3119f1b93527d9bdca720e80b699350.zip
doesn't display prompt if auto
-rwxr-xr-xrescue/install_bootloader4
1 files changed, 2 insertions, 2 deletions
diff --git a/rescue/install_bootloader b/rescue/install_bootloader
index ba43eff84..24ab7e382 100755
--- a/rescue/install_bootloader
+++ b/rescue/install_bootloader
@@ -60,9 +60,9 @@ if (@main_methods == 0) {
my $install = $bootloader::{'install_raw_' . $main_method} or die "unknown bootloader method install_raw_$main_method\n";
print "About to re-install Boot Loader $main_method of following Mandriva Linux distribution:\n\t",
- $release,
- "\n=> ok? <press Enter to continue, 'n' and Enter to cancel> ";
+ $release, "\n";
if (!$auto) {
+ print "=> ok? <press Enter to continue, 'n' and Enter to cancel> ";
<STDIN> =~ /^n/i and exit 0;
}