Fix listing mounted on x86 macOS

https://github.com/webmin/webmin/issues/2419#issuecomment-2676150866
This commit is contained in:
Ilia Ross
2025-02-22 13:39:57 +02:00
parent 9580a661e6
commit 237391bc12

View File

@@ -18,7 +18,7 @@ sub list_mounted
local(@rv, $_);
local $arch = &backquote_command("uname -m");
local $cmd;
if ($arch =~ /arm64/) {
if ($arch =~ /arm64|x86_64/) {
my $expand_flags = sub {
my ($flags_str) = @_;
my @flags;