| commit | e271282d4a89685e46eef79ee9343740c26828af | [log] [download] |
|---|---|---|
| author | Kir Kolyshkin <kir@openvz.org> | Wed Jul 21 19:43:27 2010 +0400 |
| committer | Kir Kolyshkin <kir@openvz.org> | Wed Jul 21 19:43:27 2010 +0400 |
| tree | 6240a5cf20a1714972a90e1ce01bc27472ae235c | |
| parent | 4ea086646bf0ec888df3e1765dfc811a7b98b5e3 [diff] |
bash_completion: remove unneeded code
We tried to distinguish between CTID and CT NAME, and used
"vzlist -N ${name}" in the latter case. There is no need to use -N,
vzlist supports CT NAMES natively, so remove this kludge.
BTW, the code that was used to distinguish had an assumption that
CT NAME should contain a [a-zA-Z] character. This is incorrect.
Signed-off-by: Kir Kolyshkin <kir@openvz.org>