summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-08-11 16:12:56 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-08-11 16:12:56 +0000
commite7c248176455c53e143b4f4715a820ae1e5947df (patch)
treed173c65659cb4ac6f0b063be4da6d6db3ff3b22e
parent3c76b9b600327f524fddddd94a4f344e8780b9ec (diff)
downloaddrakx-backup-do-not-use-e7c248176455c53e143b4f4715a820ae1e5947df.tar
drakx-backup-do-not-use-e7c248176455c53e143b4f4715a820ae1e5947df.tar.gz
drakx-backup-do-not-use-e7c248176455c53e143b4f4715a820ae1e5947df.tar.bz2
drakx-backup-do-not-use-e7c248176455c53e143b4f4715a820ae1e5947df.tar.xz
drakx-backup-do-not-use-e7c248176455c53e143b4f4715a820ae1e5947df.zip
nice message when rebootNeeded in auto_install (otherwise it reboots without prompting)
-rw-r--r--perl-install/install_steps_auto_install.pm7
1 files changed, 7 insertions, 0 deletions
diff --git a/perl-install/install_steps_auto_install.pm b/perl-install/install_steps_auto_install.pm
index cd0282800..734403f90 100644
--- a/perl-install/install_steps_auto_install.pm
+++ b/perl-install/install_steps_auto_install.pm
@@ -79,6 +79,13 @@ sub enteringStep {
$o->install_steps::enteringStep($step);
}
+sub rebootNeeded {
+ my ($o) = @_;
+ print "\nWhile partitioning, the partition table re-read failed, needing a reboot\n";
+ print "This is plain wrong for an auto_install\n";
+ errorInStep();
+}
+
sub ask_warn {
log::l(ref $_[1] ? join " ", @{$_[1]} : $_[1]);
}