diff options
author | Nicolas Vigier <nvigier@mandriva.com> | 2008-02-19 14:01:45 +0000 |
---|---|---|
committer | Nicolas Vigier <nvigier@mandriva.com> | 2008-02-19 14:01:45 +0000 |
commit | 91208328821a6050ce7d6f316470b33c9a5ae401 (patch) | |
tree | 0bc051b32090c8bc37e11d83d380f0a24c600c58 /nisautofs_wizard | |
parent | 6cbb36b56d99fcee921a2fd35609bf425758a25c (diff) | |
download | drakwizard-91208328821a6050ce7d6f316470b33c9a5ae401.tar drakwizard-91208328821a6050ce7d6f316470b33c9a5ae401.tar.gz drakwizard-91208328821a6050ce7d6f316470b33c9a5ae401.tar.bz2 drakwizard-91208328821a6050ce7d6f316470b33c9a5ae401.tar.xz drakwizard-91208328821a6050ce7d6f316470b33c9a5ae401.zip |
fix bug #36616
Diffstat (limited to 'nisautofs_wizard')
-rw-r--r-- | nisautofs_wizard/Nisautofs.pm | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/nisautofs_wizard/Nisautofs.pm b/nisautofs_wizard/Nisautofs.pm index 39742e7e..771dde4a 100644 --- a/nisautofs_wizard/Nisautofs.pm +++ b/nisautofs_wizard/Nisautofs.pm @@ -62,7 +62,11 @@ my $o = { needed_rpm => [ 'ypserv', 'ypbind', 'nfs-utils', 'yp-tools', 'nfs-utils-clients' ], defaultimage => "/usr/share/mcc/themes/default/nisautofs.png", init => sub { - test_host_domain($HOST, $NISDOMAIN); + my ($err, $msg) = test_host_domain($SHORTHOSTNAME, $DOMAINNAME); + if (!$err) { + $in->ask_warn(N('Error'), $msg); + die 'wizcancel'; + } }, }; |