mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-28 01:41:14 -06:00
Actually return a value to the shell
This commit is contained in:
parent
53166669e7
commit
6b0587726a
@ -110,4 +110,5 @@ def main():
|
||||
|
||||
return 0
|
||||
|
||||
main()
|
||||
if __name__ == "__main__":
|
||||
sys.exit(main())
|
||||
|
@ -246,4 +246,5 @@ def main():
|
||||
print username + " successfully added"
|
||||
return 0
|
||||
|
||||
main()
|
||||
if __name__ == "__main__":
|
||||
sys.exit(main())
|
||||
|
@ -69,4 +69,5 @@ def main():
|
||||
|
||||
return 0
|
||||
|
||||
main()
|
||||
if __name__ == "__main__":
|
||||
sys.exit(main())
|
||||
|
@ -69,4 +69,5 @@ def main():
|
||||
|
||||
return 0
|
||||
|
||||
main()
|
||||
if __name__ == "__main__":
|
||||
sys.exit(main())
|
||||
|
@ -87,4 +87,5 @@ def main():
|
||||
|
||||
return 0
|
||||
|
||||
main()
|
||||
if __name__ == "__main__":
|
||||
sys.exit(main())
|
||||
|
@ -120,4 +120,5 @@ def main():
|
||||
|
||||
return 0
|
||||
|
||||
main()
|
||||
if __name__ == "__main__":
|
||||
sys.exit(main())
|
||||
|
@ -108,4 +108,5 @@ def main():
|
||||
|
||||
return 0
|
||||
|
||||
main()
|
||||
if __name__ == "__main__":
|
||||
sys.exit(main())
|
||||
|
@ -104,4 +104,5 @@ def main():
|
||||
|
||||
return 0
|
||||
|
||||
main()
|
||||
if __name__ == "__main__":
|
||||
sys.exit(main())
|
||||
|
@ -207,4 +207,5 @@ def main():
|
||||
print username + " successfully updated"
|
||||
return 0
|
||||
|
||||
main()
|
||||
if __name__ == "__main__":
|
||||
sys.exit(main())
|
||||
|
Loading…
Reference in New Issue
Block a user