diff options
author | Rob Crittenden <rcritten@redhat.com> | 2008-10-30 09:35:18 -0400 |
---|---|---|
committer | Rob Crittenden <rcritten@redhat.com> | 2008-10-30 10:25:01 -0400 |
commit | c13726ff66b212f9a194a2d97f91798b60d251c9 (patch) | |
tree | 6b1bfb05224fc148e130ced4bb82033f2956f521 /ipa-server | |
parent | 4699fc534b78dc136893229980266ecb713d2ffa (diff) | |
download | freeipa-c13726ff66b212f9a194a2d97f91798b60d251c9.tar.gz freeipa-c13726ff66b212f9a194a2d97f91798b60d251c9.tar.xz freeipa-c13726ff66b212f9a194a2d97f91798b60d251c9.zip |
Gracefully handle running on an unconfigured IPA server
Diffstat (limited to 'ipa-server')
-rwxr-xr-x | ipa-server/ipa-ldap-updater | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ipa-server/ipa-ldap-updater b/ipa-server/ipa-ldap-updater index 90119950e..f85148e35 100755 --- a/ipa-server/ipa-ldap-updater +++ b/ipa-server/ipa-ldap-updater @@ -120,3 +120,7 @@ except SystemExit, e: sys.exit(e) except KeyboardInterrupt, e: sys.exit(1) +except config.IPAConfigError, e: + print "An IPA server to update cannot be found. Has one been configured yet?" + print "The error was: %s" % e + sys.exit(1) |