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:
parent
cc0439f102
commit
dd37aaba17
1 changed files with 9 additions and 9 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue