vzctl restore/start: fix running mount script

When doing vzctl restore, we should still run mount script.
Error was introduced in commits 784b2ca and 40ea0d5. Revert those.

Instead, we check for fn != NULL in vps_start_custom to distinguish
between start and restore. In case of restore, we do not run start script.

https://bugzilla.openvz.org/2603

Reported-by: dippo4589@gmail.com
Signed-off-by: Kir Kolyshkin <kir@openvz.org>
3 files changed