mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2026-10-13 08:52:01 -05:00
Gracefully handle running on an unconfigured IPA server
This commit is contained in:
1 parent
4699fc534b
commit
c13726ff66
1 file changed
+4
@@ -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)
|
||||
Reference in new issue
Block a user