1
0
Fork 0
mirror of https://github.com/composer/composer synced 2025-05-11 09:32:55 +00:00

Fix exit codes, cc @tyrael

This commit is contained in:
Jordi Boggiano 2013-11-22 16:17:02 +01:00
parent 99e260adf0
commit e126c92525
6 changed files with 19 additions and 16 deletions

View file

@ -173,8 +173,9 @@ EOT
$installer->disablePlugins();
}
if (!$installer->run()) {
return 1;
$status = $installer->run();
if (0 !== $status) {
return $status;
}
}