diff --git a/plugins/lxc/lxc-multigraph b/plugins/lxc/lxc-multigraph index 1067ca15..37c4dcc3 100755 --- a/plugins/lxc/lxc-multigraph +++ b/plugins/lxc/lxc-multigraph @@ -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