[FrameworkBundle] fix typo in CacheClearCommand

This commit is contained in:
Emilie Lorenzo 2018-05-22 12:57:49 +02:00 committed by GitHub
parent 52270d1e5a
commit b1ec831cce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -148,7 +148,7 @@ EOF
if ('/' === \DIRECTORY_SEPARATOR && $mounts = @file('/proc/mounts')) {
foreach ($mounts as $mount) {
$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;
}
$mount = implode(' ', $mount).'/';