mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-22 02:51:03 +00:00
Plugin lxc: exit after autoconf
Previously processing continued after a successful autoconf operation.
This commit is contained in:
parent
6696a4d894
commit
d004990b21
1 changed files with 4 additions and 6 deletions
|
@ -179,14 +179,12 @@ active_guests=$(active_guests $exclude)
|
|||
if [ "$1" = "autoconf" ]; then
|
||||
if [ ! -r /proc/net/dev ]; then
|
||||
echo "no (/proc/net/dev cannot be read)"
|
||||
exit 0
|
||||
fi
|
||||
if [ ! -e "$lxcpath" ]; then
|
||||
elif [ ! -e "$lxcpath" ]; then
|
||||
echo "no ($lxcpath is not present)"
|
||||
exit 0
|
||||
else
|
||||
echo yes
|
||||
fi
|
||||
|
||||
echo yes
|
||||
exit 0
|
||||
fi
|
||||
|
||||
# --- CONFIG OUTPUT
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue