diff options
author | Rob Crittenden <rcritten@redhat.com> | 2007-10-19 09:59:07 -0400 |
---|---|---|
committer | Rob Crittenden <rcritten@redhat.com> | 2007-10-19 09:59:07 -0400 |
commit | 6b0587726aa69cb1f4b1f983b4551bcd61440c1b (patch) | |
tree | 77d902950a3283132ceaf5491e0c3593d383c3de /ipa-admintools/ipa-adduser | |
parent | 53166669e70e442bef567e91b14cb25d8933e482 (diff) | |
download | freeipa-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-adduser | 3 |
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()) |