vps_is_mounted(): check for non-null args

If either root or private is not set, return -1.

Found by coverity, CID 996852.

Signed-off-by: Kir Kolyshkin <kir@openvz.org>
1 file changed