summaryrefslogtreecommitdiffstats
path: root/ipa-admintools/ipa-deluser
diff options
context:
space:
mode:
authorRob Crittenden <rcritten@redhat.com>2007-10-19 09:59:07 -0400
committerRob Crittenden <rcritten@redhat.com>2007-10-19 09:59:07 -0400
commit6b0587726aa69cb1f4b1f983b4551bcd61440c1b (patch)
tree77d902950a3283132ceaf5491e0c3593d383c3de /ipa-admintools/ipa-deluser
parent53166669e70e442bef567e91b14cb25d8933e482 (diff)
downloadfreeipa-6b0587726aa69cb1f4b1f983b4551bcd61440c1b.tar.gz
freeipa-6b0587726aa69cb1f4b1f983b4551bcd61440c1b.tar.xz
freeipa-6b0587726aa69cb1f4b1f983b4551bcd61440c1b.zip
Actually return a value to the shell
Diffstat (limited to 'ipa-admintools/ipa-deluser')
-rw-r--r--ipa-admintools/ipa-deluser3
1 files changed, 2 insertions, 1 deletions
diff --git a/ipa-admintools/ipa-deluser b/ipa-admintools/ipa-deluser
index 659c3869e..18adf75c0 100644
--- a/ipa-admintools/ipa-deluser
+++ b/ipa-admintools/ipa-deluser
@@ -69,4 +69,5 @@ def main():
return 0
-main()
+if __name__ == "__main__":
+ sys.exit(main())