commit | 895c34acc302eb7e159178402864d97e380a3737 | [log] [download] |
---|---|---|
author | Kir Kolyshkin <kir@openvz.org> | Sat Aug 18 15:39:49 2012 +0400 |
committer | Kir Kolyshkin <kir@openvz.org> | Sat Aug 18 15:39:49 2012 +0400 |
tree | 01f27f4a4efc4ef9f303c46e37d560c9d133db4b | |
parent | 86101c505fda60646f97e2d5d5725f12a93490e5 [diff] |
bash_completion: only complete ploop-related commands if ploop is supported by the kernel We check for /proc/vz/ploop_minor because earlier kernels (that do not provide it) won't work with this vzctl anyway. We use += which is bashism because this script is bash-specific. Signed-off-by: Kir Kolyshkin <kir@openvz.org>