From: Frantisek Sumsal Date: Thu, 25 Apr 2019 17:16:06 +0000 (+0200) Subject: bash-completion: process only non-template units for systemctl isolate X-Git-Tag: v243-rc1~518 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=babf4f68fc455e618215aab890e973cc8fcb8e78;p=thirdparty%2Fsystemd.git bash-completion: process only non-template units for systemctl isolate --- diff --git a/shell-completion/bash/systemctl.in b/shell-completion/bash/systemctl.in index dfb2d4a4c9e..8986f4537ab 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