Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.10.15

Bug #8383 No exit code on errors
Submitted: 2006-08-08 10:33 UTC
From: yunosh Assigned: cellog
Status: Closed Package: PEAR (version 1.4.10)
PHP Version: Irrelevant OS:
Roadmaps: (Not assigned)    

 [2006-08-08 10:33 UTC] yunosh (Jan Schneider)
Description: ------------ If the pear installer fails with an error, it doesn't exit with an exit code. This makes it hard to trap error when running the installer from a script.


 [2006-09-22 02:48 UTC] cellog (Greg Beaver)
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on by the end of next Sunday (CET). If this was a problem with the website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better. this bug was only present in rare cases (corrupt configuration, corrupt dependency database, register_argc_argv is off and we're using CGI), so you should be checking for exit code of 1 for all errors. This will now be consistent for all error cases.