summaryrefslogtreecommitdiffstats
path: root/ipa-admintools/ipa-adduser
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-adduser
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-adduser')
-rw-r--r--ipa-admintools/ipa-adduser3
1 files changed, 2 insertions, 1 deletions
diff --git a/ipa-admintools/ipa-adduser b/ipa-admintools/ipa-adduser
index 8bca98d7e..d82de8955 100644
--- a/ipa-admintools/ipa-adduser
+++ b/ipa-admintools/ipa-adduser
@@ -246,4 +246,5 @@ def main():
print username + " successfully added"
return 0
-main()
+if __name__ == "__main__":
+ sys.exit(main())