Of git, get, and gud
1 2 3 4 5 6 7 8 9 10 11
--- a/check_nfsmounts/check_nfsmounts +++ b/check_nfsmounts/check_nfsmounts @@ -101,7 +101,7 @@ my @dirs=(); my %mountmodes=(); while(my $line=<MTAB>) { - if($line =~ /^[^ ]+ [^ ]+ nfs /) { + if($line =~ /^[^ ]+ [^ ]+ nfs4? /) { my @fields=split(/\s+/,$line); my $mountpoint=$fields[1]; push(@dirs,$mountpoint);