commit | 0f5a800cd53a3f816b218e343b93aec2b07c3a12 | [log] [download] |
---|---|---|
author | Kir Kolyshkin <kir@openvz.org> | Tue May 28 16:48:40 2013 -0700 |
committer | Kir Kolyshkin <kir@openvz.org> | Tue May 28 16:52:23 2013 -0700 |
tree | 75941e9cbd566a6537b390c8bab821defb406b7a | |
parent | 201820f0cac0dab481c402db22333acee85d22fc [diff] |
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>