summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xminimunin3
1 files changed, 1 insertions, 2 deletions
diff --git a/minimunin b/minimunin
index a36372f..ce7a857 100755
--- a/minimunin
+++ b/minimunin
@@ -325,8 +325,7 @@ env_for_plugin_from_config() {
325 unset in_sect 325 unset in_sect
326 while read line; do 326 while read line; do
327 case ${line## } in 327 case ${line## } in
328 \[*\]) v="${line#*[}"; v="${v%%]*}" 328 \[*\]) case [$1 in ${line%%]*}) in_sect=true;; *) unset in_sect ;; esac
329 case $1 in ${v}) in_sect=true;; *) unset in_sect ;; esac
330 ;; 329 ;;
331 env.*) [ "${in_sect}" ] || continue 330 env.*) [ "${in_sect}" ] || continue
332 _pref=${line#*env.}; 331 _pref=${line#*env.};