Skip to content

Commit

Permalink
Merge pull request #11 from dev-sec/main_func
Browse files Browse the repository at this point in the history
add main function
  • Loading branch information
schurzi committed Aug 4, 2023
2 parents 82fa374 + 22fd546 commit dbdaaec
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pam_tester/pam_tester.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,6 @@ def pam_auth(user, password, stack, expectfail):
if (not expectfail and failed) or (expectfail and not failed):
sys.exit(1)
sys.exit(0)

if __name__ == "__main__":
pam_auth()

0 comments on commit dbdaaec

Please sign in to comment.