installer does not return exit status > 1 on fail #855

mvriel opened this Issue Jun 29, 2012 · 1 comment


None yet
2 participants

mvriel commented Jun 29, 2012

The following reproduction scenario is an example where the installer does not return an exit status.
This hinders tool chain vendors to detect errors in the execution causing dependent applications (such as the phpDocumentor installer) to continue executing while the installation failed.

$ cd /tmp
$ wget
$ php installer --install-dir="doesnotexist"
All settings correct for using Composer
The defined install dir (doesnotexist) does not exist.
$ echo $?

Seldaek added a commit to composer/ that referenced this issue Jun 30, 2012


Seldaek commented Jun 30, 2012

Fixed, thanks for reporting

@Seldaek Seldaek closed this Jun 30, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment