vzifup-post: do not fail if there's no /proc/vz/veip
In some situations (some of OpenVZ modules are loaded, some are not)
we can have this:
# vzifup-post eth0
awk: cmd. line:1: fatal: cannot open file `/proc/vz/veip' for reading (No such file or directory)
Fix it by changing a check for /proc/vz/veinfo to /proc/vz/veip.
Naturally, we don't care about veinfo, and we should not do anything
if veip is not here.
http://bugzilla.openvz.org/1918
Reported-by: Slava Dubrovskiy <dubrsl@altlinux.org>
Signed-off-by: Kir Kolyshkin <kir@openvz.org>
1 file changed