commit | 76a9dcfcb14269873fa658eba93b3da59e52fa3c | [log] [download] |
---|---|---|
author | Andrey Vagin <avagin@openvz.org> | Fri May 31 13:56:40 2013 +0400 |
committer | Kir Kolyshkin <kir@openvz.org> | Fri May 31 16:02:39 2013 -0700 |
tree | 2402357399caf17ac0c0cacf5cd9830c1ac50aea | |
parent | 8a1e2d945fbc16d4d7bb9fa787a08c0f063f1bd5 [diff] |
ct: return positive error code from ct_env_create_real and ct_restore_fn The most part of vzctl functions return positive error code. This two functions were exceptions, because they return PID of init to create netns file. Currently each of these functions creates netns file by itself. [kir@: fixed one last case of return -VZ_*] Signed-off-by: Andrey Vagin <avagin@openvz.org> Signed-off-by: Kir Kolyshkin <kir@openvz.org>