Permalink
Browse files

jmx2munin.sh: don't search for the jar file among plugins.

This makes it behave more like the actual JMX jar shipping with Munin.
  • Loading branch information...
1 parent caf88ca commit 46d11d452a463b6a8b5f228e11ae8d3035c2f32d @Flameeyes Flameeyes committed Aug 10, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 contrib/jmx2munin.sh
View
@@ -36,7 +36,7 @@ if [ "$1" = "config" ]; then
exit 0
fi
-JAR="$JMX2MUNIN_DIR/jmx2munin.jar"
+JAR="$MUNIN_LIBDIR/jmx2munin.jar"
CACHED="${MUNIN_STATEFILE}"
if test ! -f $CACHED || test `find "$CACHED" -mmin +2`; then

0 comments on commit 46d11d4

Please sign in to comment.