1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-07-25 02:18:08 +00:00

little fix

This commit is contained in:
Michael Richter, Marian Sigler 2010-08-16 01:54:01 +02:00 committed by Steve Schnepp
parent cc0439f102
commit dd37aaba17

View file

@ -10,13 +10,13 @@
BEANCOUNTERS=/proc/user_beancounters
if [ "$1" == "autoconf" ]; then
if [ -e $BEANCOUNTERS ]; then
echo yes
exit 0
else
echo no
exit 1
fi
if [ -e $BEANCOUNTERS ]; then
echo yes
exit 0
else
echo no
exit 1
fi
fi
if [ ! -r $BEANCOUNTERS ]; then
@ -49,10 +49,10 @@ if [ "$1" == "config" ]; then
limit.draw LINE2
limit.info memory usage limit
EOF
exit 0
exit 0
fi
if [ $# -gt 0 ]; then
if [ -n "$1" ]; then
echo "Invalid argument: $1" >&2
exit 1
fi