summaryrefslogtreecommitdiffstats
path: root/dns_wizard
diff options
context:
space:
mode:
Diffstat (limited to 'dns_wizard')
-rw-r--r--dns_wizard/Bind.pm6
1 files changed, 5 insertions, 1 deletions
diff --git a/dns_wizard/Bind.pm b/dns_wizard/Bind.pm
index 66e15102..c8c5ecd4 100644
--- a/dns_wizard/Bind.pm
+++ b/dns_wizard/Bind.pm
@@ -67,7 +67,11 @@ my $o = {
CLIENTIP => $CLIENTIP,
},
init => sub {
- test_host_domain($SHORTHOSTNAME, $DOMAINNAME);
+ my ($err, $msg) = test_host_domain($SHORTHOSTNAME, $DOMAINNAME);
+ if (!$err) {
+ $in->ask_warn(N('Error'), $msg);
+ die 'wizcancel';
+ }
},
needed_rpm => [ 'bind' ],
defaultimage => "/usr/share/mcc/themes/default/dns_server-mdk.png",