forked from pool/systemd
701179bcff
- Update to new upstream release 221 OBS-URL: https://build.opensuse.org/request/show/313261 OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=875
18 lines
802 B
Diff
18 lines
802 B
Diff
---
|
|
shell-completion/bash/systemctl.in | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
Index: systemd-221/shell-completion/bash/systemctl.in
|
|
===================================================================
|
|
--- systemd-221.orig/shell-completion/bash/systemctl.in
|
|
+++ systemd-221/shell-completion/bash/systemctl.in
|
|
@@ -43,7 +43,7 @@ __filter_units_by_property () {
|
|
local units=("$@")
|
|
local props
|
|
IFS=$'\n' read -rd '' -a props < \
|
|
- <(__systemctl $mode show --property "$property" -- "${units[@]}")
|
|
+ <(__systemctl $mode show --property "$property" -- "${units[@]}" 2> /dev/null)
|
|
for ((i=0; $i < ${#units[*]}; i++)); do
|
|
if [[ "${props[i]}" = "$property=$value" ]]; then
|
|
echo " ${units[i]}"
|