mirror of
https://github.com/composer/composer
synced 2025-05-11 01:22:54 +00:00
Ignore chmod failures, fixes #1854
This commit is contained in:
parent
46e82cb38d
commit
05ffc605f1
5 changed files with 8 additions and 8 deletions
|
@ -117,7 +117,7 @@ EOT
|
|||
if ($input->getOption('global') && !$this->configFile->exists()) {
|
||||
touch($this->configFile->getPath());
|
||||
$this->configFile->write(array('config' => new \ArrayObject));
|
||||
chmod($this->configFile->getPath(), 0600);
|
||||
@chmod($this->configFile->getPath(), 0600);
|
||||
}
|
||||
|
||||
if (!$this->configFile->exists()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue