From ede1eacadd1ad9ca90fb1d7ee2508bce4eac3dbe Mon Sep 17 00:00:00 2001 From: Guillaume Cottenceau Date: Tue, 19 Sep 2000 16:45:48 +0000 Subject: changed `suspend' and `resume' to behave as expected. added `enter_console' and `leave_console' for install_interactive::use_fdisk --- perl-install/install_interactive.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'perl-install/install_interactive.pm') diff --git a/perl-install/install_interactive.pm b/perl-install/install_interactive.pm index 187fddf1c..45766abaa 100644 --- a/perl-install/install_interactive.pm +++ b/perl-install/install_interactive.pm @@ -158,7 +158,7 @@ When sure, press Ok.")) or return; $solutions{fdisk} = [ -10, _("Use fdisk"), sub { - $o->suspend; + $o->enter_console; foreach (@$hds) { print "\n" x 10, _("You can now partition %s. When you are done, don't forget to save using `w'", partition_table_raw::description($_)); @@ -166,7 +166,7 @@ When you are done, don't forget to save using `w'", partition_table_raw::descrip my $pid = fork or exec "fdisk", devices::make($_->{device}); waitpid($pid, 0); } - $o->resume; + $o->leave_console; 0; } ] if $o->{partitioning}{fdisk}; -- cgit v1.2.1