From 91208328821a6050ce7d6f316470b33c9a5ae401 Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Tue, 19 Feb 2008 14:01:45 +0000 Subject: fix bug #36616 --- sshd_wizard/Sshd.pm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'sshd_wizard') diff --git a/sshd_wizard/Sshd.pm b/sshd_wizard/Sshd.pm index d458823e..58657a91 100755 --- a/sshd_wizard/Sshd.pm +++ b/sshd_wizard/Sshd.pm @@ -47,7 +47,11 @@ my $o = { wiz_port => '', }, 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 => [ 'openssh-server' ], defaultimage => "/usr/share/wizards/sshd_wizard/images/IC-Dssh-48.png", -- cgit v1.2.1