koto / phar-util

PharUtil - Security-oriented utilities for Phar archives
http://blog.kotowicz.net/2010/08/hardening-php-how-to-securely-include.html
MIT License
131 stars 20 forks source link

Use exit call on error? #1

Closed katanacrimson closed 14 years ago

katanacrimson commented 14 years ago

http://github.com/koto/phar-util/blob/master/phar-build.php#L193

Is it possible to have an exit call placed here that will allow another script (such as a bash script) to determine if the build failed? It would be extremely useful for automated build scripts.

koto commented 14 years ago

Fixed in 099cec127ddb450a8ef6d26c0fffb3d002def450 . Thanks for reporting!