diff options
Diffstat (limited to 'proxy_wizard')
-rwxr-xr-x | proxy_wizard/Squid.pm | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/proxy_wizard/Squid.pm b/proxy_wizard/Squid.pm index 7439f1c2..4a8e0dd6 100755 --- a/proxy_wizard/Squid.pm +++ b/proxy_wizard/Squid.pm @@ -61,7 +61,11 @@ my $o = { wiz_squid_disk => '' }, 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 => [ 'squid' ], defaultimage => "/usr/share/mcc/themes/default/drakproxy-mdk.png", |