Actually return a value to the shell

This commit is contained in:
Rob Crittenden 2007-10-19 09:59:07 -04:00
parent 53166669e7
commit 6b0587726a
9 changed files with 18 additions and 9 deletions

View File

@ -110,4 +110,5 @@ def main():
return 0
main()
if __name__ == "__main__":
sys.exit(main())

View File

@ -246,4 +246,5 @@ def main():
print username + " successfully added"
return 0
main()
if __name__ == "__main__":
sys.exit(main())

View File

@ -69,4 +69,5 @@ def main():
return 0
main()
if __name__ == "__main__":
sys.exit(main())

View File

@ -69,4 +69,5 @@ def main():
return 0
main()
if __name__ == "__main__":
sys.exit(main())

View File

@ -87,4 +87,5 @@ def main():
return 0
main()
if __name__ == "__main__":
sys.exit(main())

View File

@ -120,4 +120,5 @@ def main():
return 0
main()
if __name__ == "__main__":
sys.exit(main())

View File

@ -108,4 +108,5 @@ def main():
return 0
main()
if __name__ == "__main__":
sys.exit(main())

View File

@ -104,4 +104,5 @@ def main():
return 0
main()
if __name__ == "__main__":
sys.exit(main())

View File

@ -207,4 +207,5 @@ def main():
print username + " successfully updated"
return 0
main()
if __name__ == "__main__":
sys.exit(main())