mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-26 02:48:28 +00:00
little fix
This commit is contained in:
parent
cc0439f102
commit
dd37aaba17
1 changed files with 9 additions and 9 deletions
|
@ -10,13 +10,13 @@
|
||||||
BEANCOUNTERS=/proc/user_beancounters
|
BEANCOUNTERS=/proc/user_beancounters
|
||||||
|
|
||||||
if [ "$1" == "autoconf" ]; then
|
if [ "$1" == "autoconf" ]; then
|
||||||
if [ -e $BEANCOUNTERS ]; then
|
if [ -e $BEANCOUNTERS ]; then
|
||||||
echo yes
|
echo yes
|
||||||
exit 0
|
exit 0
|
||||||
else
|
else
|
||||||
echo no
|
echo no
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ! -r $BEANCOUNTERS ]; then
|
if [ ! -r $BEANCOUNTERS ]; then
|
||||||
|
@ -49,10 +49,10 @@ if [ "$1" == "config" ]; then
|
||||||
limit.draw LINE2
|
limit.draw LINE2
|
||||||
limit.info memory usage limit
|
limit.info memory usage limit
|
||||||
EOF
|
EOF
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ $# -gt 0 ]; then
|
if [ -n "$1" ]; then
|
||||||
echo "Invalid argument: $1" >&2
|
echo "Invalid argument: $1" >&2
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue