summaryrefslogtreecommitdiff
path: root/shell-completion/bash/systemctl.in
diff options
context:
space:
mode:
Diffstat (limited to 'shell-completion/bash/systemctl.in')
-rw-r--r--shell-completion/bash/systemctl.in6
1 files changed, 2 insertions, 4 deletions
diff --git a/shell-completion/bash/systemctl.in b/shell-completion/bash/systemctl.in
index 4ff76d87fc..1c26ca24c4 100644
--- a/shell-completion/bash/systemctl.in
+++ b/shell-completion/bash/systemctl.in
@@ -235,13 +235,11 @@ _systemctl () {
compopt -o filenames
elif __contains_word "$verb" ${VERBS[STARTABLE_UNITS]}; then
- comps=$( __get_startable_units $mode "$cur";
- __get_template_names $mode "$cur")
+ comps=$( __get_startable_units $mode "$cur" )
compopt -o filenames
elif __contains_word "$verb" ${VERBS[RESTARTABLE_UNITS]}; then
- comps=$( __get_restartable_units $mode "$cur";
- __get_template_names $mode "$cur")
+ comps=$( __get_restartable_units $mode "$cur" )
compopt -o filenames
elif __contains_word "$verb" ${VERBS[STOPPABLE_UNITS]}; then