From babf4f68fc455e618215aab890e973cc8fcb8e78 Mon Sep 17 00:00:00 2001 From: Frantisek Sumsal Date: Thu, 25 Apr 2019 19:16:06 +0200 Subject: bash-completion: process only non-template units for systemctl isolate --- shell-completion/bash/systemctl.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.1