From 03d7125eacb5c0fc15d416349f6ad48d22ef5acb Mon Sep 17 00:00:00 2001 From: Rob Crittenden Date: Thu, 6 Mar 2008 13:17:28 -0500 Subject: Verify that the hostname is correct in /etc/hosts Don't ignore exceptions when getting the hostname from the user 433515 --- ipa-server/ipa-install/ipa-server-install | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'ipa-server/ipa-install') diff --git a/ipa-server/ipa-install/ipa-server-install b/ipa-server/ipa-install/ipa-server-install index 43c20791a..926b00358 100644 --- a/ipa-server/ipa-install/ipa-server-install +++ b/ipa-server/ipa-install/ipa-server-install @@ -123,9 +123,8 @@ def read_host_name(host_default): host_name = host_input try: verify_fqdn(host_name) - except: - host_name = "" - continue + except Exception, e: + raise e else: host_ok = True return host_name -- cgit