summaryrefslogtreecommitdiffstats
path: root/nisautofs_wizard/Nisautofs.pm
diff options
context:
space:
mode:
authorAntoine Ginies <aginies@mandriva.com>2006-06-21 10:22:46 +0000
committerAntoine Ginies <aginies@mandriva.com>2006-06-21 10:22:46 +0000
commit41d0a26437dd06eb5e15d84299831507b000078e (patch)
tree947eee7bfe15a5431a14113ea21f2c06dbc186d7 /nisautofs_wizard/Nisautofs.pm
parent02da6659361e7e1b8469b535d0245daf05df01a0 (diff)
downloaddrakwizard-41d0a26437dd06eb5e15d84299831507b000078e.tar
drakwizard-41d0a26437dd06eb5e15d84299831507b000078e.tar.gz
drakwizard-41d0a26437dd06eb5e15d84299831507b000078e.tar.bz2
drakwizard-41d0a26437dd06eb5e15d84299831507b000078e.tar.xz
drakwizard-41d0a26437dd06eb5e15d84299831507b000078e.zip
fix ask_warn for nisautofs wizard
Diffstat (limited to 'nisautofs_wizard/Nisautofs.pm')
-rw-r--r--nisautofs_wizard/Nisautofs.pm5
1 files changed, 3 insertions, 2 deletions
diff --git a/nisautofs_wizard/Nisautofs.pm b/nisautofs_wizard/Nisautofs.pm
index 8e3b1dad..39742e7e 100644
--- a/nisautofs_wizard/Nisautofs.pm
+++ b/nisautofs_wizard/Nisautofs.pm
@@ -32,6 +32,7 @@ use MDK::Wizard::Wizcommon;
# test root capa
my $wiz = new MDK::Wizard::Wizcommon;
+my $in = interactive->vnew;
#my $NISDOMAIN = $wiz->{net}->network_get("NISDOMAIN");
my $NISDOMAIN = chomp_(`nisdomainname`);
@@ -92,8 +93,8 @@ $o->{pages} = {
if (!-d $o->{var}{HOMENIS} and $o->{var}{create_missing_directory}) {
mkdir_p($o->{var}{HOMENIS});
} elsif (!-d $o->{var}{HOMENIS}) {
- $::in->ask_warn(N("Warning"), N("Directory doesn't exist. Please create it manually."));
- return 0; }
+ $in->ask_warn(N("Warning"), N("Directory doesn't exist. Please create it manually."));
+ return 1; }
},
next => 'summaryserver',
},