Skip to content

Commit

Permalink
Exit with non-zero status code for errors
Browse files Browse the repository at this point in the history
  • Loading branch information
extremecoders-re committed Apr 27, 2024
1 parent c37ef6d commit 10c51fc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pyinstxtractor-ng.py
Original file line number Diff line number Diff line change
Expand Up @@ -517,9 +517,10 @@ def main():
print(
"You can now use a python decompiler on the pyc files within the extracted directory"
)
return
sys.exit(0)

arch.close()
sys.exit(1)


if __name__ == "__main__":
Expand Down

0 comments on commit 10c51fc

Please sign in to comment.