bug #27337 [FrameworkBundle] fix typo in CacheClearCommand (emilielorenzo)
This PR was merged into the 3.4 branch.
Discussion
----------
[FrameworkBundle] fix typo in CacheClearCommand
| Q | A
| ------------- | ---
| Branch? | 3.4
| Bug fix? | yes
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets | -
| License | MIT
| Doc PR | -
vboxsf is the correct name, see e.g. https://help.ubuntu.com/community/VirtualBox/SharedFolders
Commits
-------
b1ec831cce
[FrameworkBundle] fix typo in CacheClearCommand
This commit is contained in:
commit
8e20ab5dd0
@ -148,7 +148,7 @@ EOF
|
|||||||
if ('/' === \DIRECTORY_SEPARATOR && $mounts = @file('/proc/mounts')) {
|
if ('/' === \DIRECTORY_SEPARATOR && $mounts = @file('/proc/mounts')) {
|
||||||
foreach ($mounts as $mount) {
|
foreach ($mounts as $mount) {
|
||||||
$mount = array_slice(explode(' ', $mount), 1, -3);
|
$mount = array_slice(explode(' ', $mount), 1, -3);
|
||||||
if (!\in_array(array_pop($mount), array('vboxfs', 'nfs'))) {
|
if (!\in_array(array_pop($mount), array('vboxsf', 'nfs'))) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
$mount = implode(' ', $mount).'/';
|
$mount = implode(' ', $mount).'/';
|
||||||
|
Reference in New Issue
Block a user