summaryrefslogtreecommitdiffstats
path: root/nisautofs_wizard/Nisautofs.pm
diff options
context:
space:
mode:
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',
},