commit | 07b8bd737993cc36bed2be702c1128b24fb889ba | [log] [download] |
---|---|---|
author | Kir Kolyshkin <kir@openvz.org> | Wed Apr 17 14:37:37 2013 -0700 |
committer | Kir Kolyshkin <kir@openvz.org> | Wed Apr 17 15:14:39 2013 -0700 |
tree | eeefb804d651384bfc6b37fcfb4cbf22d6b81991 | |
parent | b4381934f0402d4bc80c5199d14feb376b6ac909 [diff] |
vzctl set 0 ... --force: don't SEGV on non-ovz kernel Commit f18aada added ability to use vzctl set --save --force on a non-OpenVZ kernel, in order to be able to save some parameters to a configuration file, even if you're not running OpenVZ kernel. This required patching a few places to check that h != NULL. One place that was missing is set_ve0(). Fix it. Signed-off-by: Kir Kolyshkin <kir@openvz.org>