summaryrefslogtreecommitdiffstats
path: root/perl-install/fsedit.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-11-18 12:11:06 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-11-18 12:11:06 +0000
commit858439cfcc2ad376ec7901a64eb3e5d345373ea9 (patch)
tree62c5d41971dbd0c2050f57690532104db83841af /perl-install/fsedit.pm
parentd48fe059539d78c02a0eec10672fcbad8d458273 (diff)
downloaddrakx-backup-do-not-use-858439cfcc2ad376ec7901a64eb3e5d345373ea9.tar
drakx-backup-do-not-use-858439cfcc2ad376ec7901a64eb3e5d345373ea9.tar.gz
drakx-backup-do-not-use-858439cfcc2ad376ec7901a64eb3e5d345373ea9.tar.bz2
drakx-backup-do-not-use-858439cfcc2ad376ec7901a64eb3e5d345373ea9.tar.xz
drakx-backup-do-not-use-858439cfcc2ad376ec7901a64eb3e5d345373ea9.zip
getHds called by install_steps must not be interactive
Diffstat (limited to 'perl-install/fsedit.pm')
-rw-r--r--perl-install/fsedit.pm8
1 files changed, 4 insertions, 4 deletions
diff --git a/perl-install/fsedit.pm b/perl-install/fsedit.pm
index 13ef8cca1..1bd99657d 100644
--- a/perl-install/fsedit.pm
+++ b/perl-install/fsedit.pm
@@ -241,12 +241,12 @@ sub hds {
sub get_hds {
#- $in is optional
- my ($flags, $in) = @_;
+ my ($flags, $o_in) = @_;
- if ($in) {
+ if ($o_in) {
catch_cdie { hds($flags, sub {
my ($dev, $err) = @_;
- $in->ask_yesorno(N("Error"),
+ $o_in->ask_yesorno(N("Error"),
N("I can't read the partition table of device %s, it's too corrupted for me :(
I can try to go on, erasing over bad partitions (ALL DATA will be lost!).
The other solution is to not allow DrakX to modify the partition table.
@@ -254,7 +254,7 @@ The other solution is to not allow DrakX to modify the partition table.
Do you agree to lose all the partitions?
", $dev, formatError($err)));
- }) } sub { $in->ask_okcancel('', formatError($@)) };
+ }) } sub { $o_in->ask_okcancel('', formatError($@)) };
} else {
catch_cdie { hds($flags) } sub { 1 }
}