commit | 411bcfc52e89556eb006d0e387a818f91aceb70e | [log] [download] |
---|---|---|
author | Kir Kolyshkin <kir@openvz.org> | Tue Feb 12 10:35:11 2013 -0800 |
committer | Kir Kolyshkin <kir@openvz.org> | Tue Feb 12 10:40:53 2013 -0800 |
tree | 3300ef0516e7d1cea5b58b8ac0bb9b6b3b5a8461 | |
parent | e1d90d5b5afcb068e1086ba8c1e1f18034d77efc [diff] |
vzctl snapshot-list: check if snapshot is supported Rather than presenting empty snapshot list, bail out with an error, or crash, check that 1 the container is ploop-based 2 ploop is supported Crash would happen if ploop library is not avaialble, because vzctl_env_snapshot_list() now calls ploop functions. Signed-off-by: Kir Kolyshkin <kir@openvz.org>