summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorerdgeist <>2013-09-22 04:36:21 +0000
committererdgeist <>2013-09-22 04:36:21 +0000
commit0c1c12db7d84a15f5af60244fd92943b36b523f6 (patch)
tree378696b24b3c5c4c260a4741d4f654a51fc94134
parentb88482ae66d9afa163924ce136772401f466e158 (diff)
Remove debug code
-rwxr-xr-xminimunin7
1 files changed, 0 insertions, 7 deletions
diff --git a/minimunin b/minimunin
index 050867c..198d518 100755
--- a/minimunin
+++ b/minimunin
@@ -322,13 +322,6 @@ call_plugin() {
322 _plug=`/usr/bin/find ${PLUGIN_DIR} -type f -perm +111 -name $1 2>/dev/null | /usr/bin/head -n 1` 322 _plug=`/usr/bin/find ${PLUGIN_DIR} -type f -perm +111 -name $1 2>/dev/null | /usr/bin/head -n 1`
323 [ -z "${_plug}" ] && return 1 323 [ -z "${_plug}" ] && return 1
324 324
325 printf "%s\n" "${CONFIGS}" | while read line; do
326 case line in
327 \[*\]) start_section;;
328 *) in_section;;
329 esac
330 done
331
332 _env=$( printf "%s\n" "${CONFIGS}" | env_for_plugin_from_config ${_plug} ) 325 _env=$( printf "%s\n" "${CONFIGS}" | env_for_plugin_from_config ${_plug} )
333 eval env ${_env} ${_plug} ${_param} 326 eval env ${_env} ${_plug} ${_param}
334 return $? 327 return $?