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:
parent
99e260adf0
commit
e126c92525
6 changed files with 19 additions and 16 deletions
|
@ -173,8 +173,9 @@ EOT
|
|||
$installer->disablePlugins();
|
||||
}
|
||||
|
||||
if (!$installer->run()) {
|
||||
return 1;
|
||||
$status = $installer->run();
|
||||
if (0 !== $status) {
|
||||
return $status;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue