Skip to content

Commit 33db6a6

Browse files
authored
Merge pull request #978 from nextcloud/split/01-disk-efivarfs-fix
fix(disk): ignore efivarfs pseudo-mount
2 parents 3fc7d53 + 923cf45 commit 33db6a6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/OperatingSystems/Linux.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ public function getDiskInfo(): array {
204204
}
205205

206206
foreach ($matches['Filesystem'] as $i => $filesystem) {
207-
if (in_array($matches['Type'][$i], ['tmpfs', 'devtmpfs', 'squashfs', 'overlay'], false)) {
207+
if (in_array($matches['Type'][$i], ['tmpfs', 'devtmpfs', 'squashfs', 'overlay', 'efivarfs'], false)) {
208208
continue;
209209
} elseif (in_array($matches['Mounted'][$i], ['/etc/hostname', '/etc/hosts'], false)) {
210210
continue;

0 commit comments

Comments
 (0)