summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrantisek Sumsal <frantisek@sumsal.cz>2019-04-25 19:16:06 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2019-04-26 08:05:05 +0200
commitbabf4f68fc455e618215aab890e973cc8fcb8e78 (patch)
tree87194f873a4530390598bae5e7bc80a2c1218a99
parentf8f542482e1df9b99144becf74dfae13a4d4403d (diff)
downloadsystemd-babf4f68fc455e618215aab890e973cc8fcb8e78.tar.gz
bash-completion: process only non-template units for systemctl isolate
-rw-r--r--shell-completion/bash/systemctl.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell-completion/bash/systemctl.in b/shell-completion/bash/systemctl.in
index dfb2d4a4c9..8986f4537a 100644
--- a/shell-completion/bash/systemctl.in
+++ b/shell-completion/bash/systemctl.in
@@ -273,7 +273,7 @@ _systemctl () {
elif __contains_word "$verb" ${VERBS[ISOLATABLE_UNITS]}; then
comps=$( __filter_units_by_properties $mode AllowIsolate=yes \
- $( __get_all_units $mode "$cur" ) )
+ $( __get_non_template_units $mode "$cur" ) )
compopt -o filenames
elif __contains_word "$verb" ${VERBS[FAILED_UNITS]}; then