Skip to content

Commit

Permalink
Merge pull request #2129 from swelljoe/deprecate-old-netbsd-mounts
Browse files Browse the repository at this point in the history
Fix for 10+ versions of netbsd
  • Loading branch information
jcameron committed Apr 17, 2024
2 parents e2cf926 + db42daa commit da285e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mount/netbsd-lib.pl
Original file line number Diff line number Diff line change
Expand Up @@ -128,9 +128,9 @@ sub list_mounted
{
# get the list of mounted filesystems
local(@rv, $_);
local $cmd = $uname_release =~ /^[3456789]\.[0-9]/ ? "netbsd-mounts-3" :
local $cmd = $uname_release =~ /^1\.[0-9]/ ? "netbsd-mounts" :
$uname_release =~ /^2\.[0-9]/ ? "netbsd-mounts-2" :
"netbsd-mounts";
"netbsd-mounts-3";
&compile_program($cmd);
open(CMD, "$module_config_directory/$cmd |");
while(<CMD>) {
Expand Down

0 comments on commit da285e9

Please sign in to comment.