vzctl destroy: emit warning if unable to remove VE_ROOT

VE_ROOT is normally an empty directory, so we call rmdir() on it.
But in case it is not empty, or not a directory, rmdir fails.

This behavior is totally correct, but it's nice to let the user know
about the problem.

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