1
0
Fork 0

Merge pull request #3923 from mathielen/patch-1

Silence symlink() error
pull/3871/merge
Jordi Boggiano 2015-04-14 23:12:02 +01:00
commit 5fbd4ee0c9
1 changed files with 1 additions and 1 deletions

View File

@ -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) {