vzctl create: remove half-created private area in case of error

In case vps-create script failed, we were not removing half-created
private area. Let's fix it.

Note that in non-error case tmp_dir is renamed so del_dir()
will do nothing.

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