is_mount_point(): fix for non-existing dir

Recent commit 2b1db5b introduces a regression -- in case VE_PRIVATE
doesn't exist, is_mount_point() returns -1 and CT creation fails.

Fix is_mount_point() so if a directory doesn't exist, 0 is returned
(i.e. non-existing directory is definitely not a mount point).

https://bugzilla.openvz.org/3174

Reported-by: Pavel Odintsov <pavel.odintsov@gmail.com>
Signed-off-by: Kir Kolyshkin <kir@openvz.org>
1 file changed