etc/init.d/vz*: fix for "we are in container"

Commit b8746d72 added a functionality to check that we are not inside
container before trying to stop vz. The problem is bogus "We are inside CT"
message if VZ was never started (like running /etc/init.d/vz restart
on a fresh system.

Additional check for /proc/user_beancounters readability should fix it.

Signed-off-by: Kir Kolyshkin <kir@openvz.org>
2 files changed