run_script(): fix an error path

1. Do return proper error code, not -1, since it is used as vzctl exit code.

2. Restore the old child handler.

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