Skip to content

Commit

Permalink
fix: fixed exit after --version
Browse files Browse the repository at this point in the history
  • Loading branch information
evilsocket committed Nov 8, 2019
1 parent ebc161e commit 8d58342
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/pwnagotchi
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ if __name__ == '__main__':

if args.version:
print(pwnagotchi.version)
SystemExit(0)
exit(0)

config = utils.load_config(args)
utils.setup_logging(args, config)
Expand Down

0 comments on commit 8d58342

Please sign in to comment.