mirror of
https://github.com/webmin/webmin.git
synced 2026-05-04 22:30:33 +01:00
Skip /snap mounts https://www.virtualmin.com/node/53712
This commit is contained in:
@@ -348,6 +348,10 @@ foreach my $m (@mounted) {
|
||||
# Skip virtual memory
|
||||
next;
|
||||
}
|
||||
if ($m->[2] eq "squashfs") {
|
||||
# Skip /snap mounts
|
||||
next;
|
||||
}
|
||||
# Get the size - for ZFS mounts, this comes from the underlying
|
||||
# total pool size and free
|
||||
my ($t, $f);
|
||||
|
||||
Reference in New Issue
Block a user