vzctl runscript: fix logic

Commit fd657abf12 changed the logic of handling wait_p file descriptor,
but vps_run_script() was not changed to reflect the logic. So, now when
a container is not running and we execute vzctl runscript, it ends up
being half-started.

Fix it.

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