From: Michael Howe Date: Thu, 27 Dec 2018 10:33:41 +0000 (+0000) Subject: Fix call to serverinfo X-Git-Tag: v1.0~6 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=0c75378a51cdb18ea631b5437113e20d36d90dea;p=packages%2Fm%2Fmunin-plugins-afs.git Fix call to serverinfo --- diff --git a/plugins/afs_volumes b/plugins/afs_volumes index c718f72..fb9a6a9 100755 --- a/plugins/afs_volumes +++ b/plugins/afs_volumes @@ -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 ){