commit | e5f399598af3ae5d7836e018adbff1b82789c7eb | [log] [download] |
---|---|---|
author | Kir Kolyshkin <kir@openvz.org> | Tue Feb 18 17:24:25 2014 -0800 |
committer | Kir Kolyshkin <kir@openvz.org> | Tue Feb 18 17:38:01 2014 -0800 |
tree | c8f5c270cecc3723498573558d70e032927890be | |
parent | 107c75af397d0d4ddd6e6d72ac1d7b77675565fc [diff] |
bash_completion: replace exit with return Not sure what was I thinking about when I added all those 'exit' statements, but the result is exiting from current shell when trying to use completion in specific places, for example vzctl snapshot XXX --id <Tab> This also happens then trying to complete CTIDs, arguments of --ipdel and --id/--uuid options by a non-root user. Fix by replacing exit with return everywhere. Signed-off-by: Kir Kolyshkin <kir@openvz.org>