git.lirion.de

Of git, get, and gud

summaryrefslogtreecommitdiffstats
path: root/nagios-plugins-contrib-24.20190301~bpo9+1/debian/patches/check_nfsmounts/nfs4_support
blob: 482541f3fd0d972fa55feec1f54f9f11f3b1bfc4 (plain)
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=) {
-  if($line =~ /^[^ ]+ [^ ]+ nfs /) {
+  if($line =~ /^[^ ]+ [^ ]+ nfs4? /) {
     my  _æ_ fields=split(/\s+/,$line);
     my $mountpoint=$fields[1];
     push( _æ_ dirs,$mountpoint);