commit | 71070e411b87b9d9c6a0a26f3a54964f92413a28 | [log] [download] |
---|---|---|
author | Kir Kolyshkin <kir@openvz.org> | Thu Feb 16 17:26:05 2012 +0400 |
committer | Kir Kolyshkin <kir@openvz.org> | Thu Feb 16 17:26:05 2012 +0400 |
tree | 84d843256f1c22a33ed6e1b7450b0e95babad357 | |
parent | 0394f75c7bb99bee82725f6bd16f316aa21a53f2 [diff] |
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>