From e7c248176455c53e143b4f4715a820ae1e5947df Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Sun, 11 Aug 2002 16:12:56 +0000 Subject: nice message when rebootNeeded in auto_install (otherwise it reboots without prompting) --- perl-install/install_steps_auto_install.pm | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'perl-install/install_steps_auto_install.pm') 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]); } -- cgit v1.2.1