chiark / gitweb /
completion: filter templates from restartable units
authorDave Reisner <dreisner@archlinux.org>
Sat, 30 Aug 2014 00:35:15 +0000 (20:35 -0400)
committerDave Reisner <dreisner@archlinux.org>
Sat, 30 Aug 2014 00:40:38 +0000 (20:40 -0400)
commitec15977a3cd82eff6c94bb13db72195f7cd512e8
treebffae386d8a113eda7cef7961df65b4db533564d
parentf2e104d3e0c43e4efd7c1952065bd4b79eefa427
completion: filter templates from restartable units

Since c6a373a2634854, we might encounter unit templates via the
'list-units' verb. These aren't restartable (and we throw errors), so
make sure they're filtered out of the completion options.

fixes downstream bug: https://bugs.archlinux.org/task/41719
shell-completion/bash/systemctl.in