pk-fr / yakpro-po

YAK Pro - Php Obfuscator
http://www.php-obfuscator.com
Other
1.27k stars 354 forks source link

correct exit codes on error #59

Closed serl closed 4 years ago

serl commented 4 years ago

Hello, I added a couple of missing exit codes on errors.

Also, I changed the -1 with 1, as the doc seems to suggest: https://www.php.net/manual/en/function.exit.php

I'm preparing the same for the 1.x branch, as it is the one I'm using right now (because of the aliases, but this is another issue)

pk-fr commented 4 years ago

different codes for each exit in new release