diff options
author | Daniel Hansson <github@hanssonit.se> | 2021-05-03 11:51:36 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-03 11:51:36 +0300 |
commit | a910d88be7c1dce1697707f0b93b0406b4a23714 (patch) | |
tree | d94606d7bf63b1d2b1f7337d552afdf47022d5ce | |
parent | e5b8ebe7cb0b5d596a0807635910e407974167b3 (diff) | |
parent | d529055376cf47d591b115b81cc76cecb7e8a737 (diff) |
Merge pull request #304 from nextcloud/backport/303/stable21v21.0.2
[stable21] Hide squashfs and overlay-FS from the overview
-rw-r--r-- | lib/OperatingSystems/DefaultOs.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/OperatingSystems/DefaultOs.php b/lib/OperatingSystems/DefaultOs.php index bc91cc5..ebabaf9 100644 --- a/lib/OperatingSystems/DefaultOs.php +++ b/lib/OperatingSystems/DefaultOs.php @@ -196,7 +196,7 @@ class DefaultOs implements IOperatingSystem { } foreach ($matches['Filesystem'] as $i => $filesystem) { - if (in_array($matches['Type'][$i], ['tmpfs', 'devtmpfs'], false)) { + if (in_array($matches['Type'][$i], ['tmpfs', 'devtmpfs', 'squashfs', 'overlay'], false)) { continue; } |