]> git.michaelhowe.org Git - packages/m/munin-plugins-afs.git/commitdiff
Fix call to serverinfo
authorMichael Howe <michael@michaelhowe.org>
Thu, 27 Dec 2018 10:33:41 +0000 (10:33 +0000)
committerMichael Howe <michael@michaelhowe.org>
Thu, 27 Dec 2018 10:33:41 +0000 (10:33 +0000)
plugins/afs_volumes

index c718f72adff116f178c96a69114fdebe4284e6fd..fb9a6a955aea637ec3b6867d85deb22f424219b2 100755 (executable)
@@ -103,7 +103,7 @@ if( $ARGV[0] and $ARGV[0] eq 'config' ){
 
     if( ! -x $VOS ){
         $ret =  "$VOS does not exist/is not executable";
-    } elsif( ! serverinfo($server) ){
+    } elsif( ! serverinfo($server, 1) ){
         $ret = "Cannot run $VOS listvol -server $server";
     }
     if( $ret ){