mirror of
https://github.com/webmin/webmin.git
synced 2026-03-20 16:50:24 +00:00
Fix netbsd-mounts version mapping
This commit is contained in:
@@ -128,7 +128,7 @@ sub list_mounted
|
||||
{
|
||||
# get the list of mounted filesystems
|
||||
local(@rv, $_);
|
||||
local $cmd = $uname_release =~ /^[345]\.[0-9]/ ? "netbsd-mounts-3" :
|
||||
local $cmd = $uname_release =~ /^[3456789]\.[0-9]/ ? "netbsd-mounts-3" :
|
||||
$uname_release =~ /^2\.[0-9]/ ? "netbsd-mounts-2" :
|
||||
"netbsd-mounts";
|
||||
&compile_program($cmd);
|
||||
|
||||
Reference in New Issue
Block a user