summaryrefslogtreecommitdiff
path: root/units/systemd-journal-gatewayd.service.in
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2017-07-27 20:22:54 +0900
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2017-07-27 07:22:54 -0400
commit6bda23dd6aaba50cf8e3e6024248cf736cc443ca (patch)
treeeb26306e2a68765373570a4a64d82ff64310aa11 /units/systemd-journal-gatewayd.service.in
parentb66c294c4b2ab49d4db4224e1bdc585a0f77e7c2 (diff)
downloadsystemd-6bda23dd6aaba50cf8e3e6024248cf736cc443ca.tar.gz
bash-completion: use the first argument instead of the global variable (#6457)
Without this fix: $ systemctl start <tab> Display all 135 possibilities? (y or n) $ __get_startable_units --system | wc -l 224 the number of the suggestions are quite different, as __get_startable_units --system does not filter already started units. With this fix, $ systemctl start <tab> Display all 135 possibilities? (y or n) $ __get_startable_units --system | wc -l 123 $ __get_template_names --system | wc -l 12 the number of the suggestions matches one the function returns. For consistency with the other internal functions, it should use the first argument instead of the global variable $mode. [zj: add commit message to make it sound like we know what we're doing]
Diffstat (limited to 'units/systemd-journal-gatewayd.service.in')
0 files changed, 0 insertions, 0 deletions