Skip to content

Commit 10c51fc

Browse files
Exit with non-zero status code for errors
1 parent c37ef6d commit 10c51fc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pyinstxtractor-ng.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -517,9 +517,10 @@ def main():
517517
print(
518518
"You can now use a python decompiler on the pyc files within the extracted directory"
519519
)
520-
return
520+
sys.exit(0)
521521

522522
arch.close()
523+
sys.exit(1)
523524

524525

525526
if __name__ == "__main__":

0 commit comments

Comments
 (0)