mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-21 18:41:03 +00:00
Fixed an error in netatalk plugin: defaultServer_volumesFile: command not found
This commit is contained in:
parent
b2f44b48ef
commit
2e5b796efe
1 changed files with 2 additions and 2 deletions
|
@ -109,7 +109,7 @@ else
|
|||
defaultVol_nonQuotedPattern='-defaultvo(l) (([^\0 !$`&*()+]|\\( |!|$|`|&|\*|\(|\)|\+))+)'
|
||||
defaultVol_pathPattern=$defaultVol_nonQuotedPattern
|
||||
[[ $defaultServer_defaultVolConfigLine =~ $defaultVol_pathIsQuoted ]] && defaultVol_pathPattern=$defaultVol_quotedPattern
|
||||
[[ $defaultServer_defaultVolConfigLine =~ $defaultVol_pathPattern ]] && defaultServer_volumesFile = ${BASH_REMATCH[2]}
|
||||
[[ $defaultServer_defaultVolConfigLine =~ $defaultVol_pathPattern ]] && defaultServer_volumesFile=${BASH_REMATCH[2]}
|
||||
fi
|
||||
|
||||
##########
|
||||
|
@ -156,4 +156,4 @@ for shareName in `cat $defaultServer_volumesFile | grep "^[^#:]" | grep -oP "^([
|
|||
done
|
||||
echo "share.value" $openShares
|
||||
|
||||
##########
|
||||
##########
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue