diff --git a/src/Composer/Installer/LibraryInstaller.php b/src/Composer/Installer/LibraryInstaller.php index 5d6180bb0..aa2d46062 100644 --- a/src/Composer/Installer/LibraryInstaller.php +++ b/src/Composer/Installer/LibraryInstaller.php @@ -239,7 +239,7 @@ class LibraryInstaller implements InstallerInterface // when using it in smbfs mounted folder $relativeBin = $this->filesystem->findShortestPath($link, $binPath); chdir(dirname($link)); - if (false === symlink($relativeBin, $link)) { + if (false === @symlink($relativeBin, $link)) { throw new \ErrorException(); } } catch (\ErrorException $e) {