summaryrefslogtreecommitdiffstats
path: root/ipa-admintools/ipa-change-master-key
diff options
context:
space:
mode:
Diffstat (limited to 'ipa-admintools/ipa-change-master-key')
-rw-r--r--ipa-admintools/ipa-change-master-key1
1 files changed, 1 insertions, 0 deletions
diff --git a/ipa-admintools/ipa-change-master-key b/ipa-admintools/ipa-change-master-key
index 9ab5a96e..a4e94399 100644
--- a/ipa-admintools/ipa-change-master-key
+++ b/ipa-admintools/ipa-change-master-key
@@ -156,6 +156,7 @@ def main():
if os.getuid() != 0:
print "ERROR: This command must be run as root"
+ sys.exit(1)
print "DANGER: This is a dangerous operation, make sure you backup all your IPA data before running the tool"
print "This command will restart your Directory and KDC Servers."