forked from pool/systemd
b9d779e5bf
Submit systemd to a staging of it's own - retest post revert OBS-URL: https://build.opensuse.org/request/show/290056 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemd?expand=0&rev=218
12 lines
613 B
Diff
12 lines
613 B
Diff
--- systemd-210/shell-completion/bash/systemctl.in
|
|
+++ systemd-210/shell-completion/bash/systemctl.in 2014-08-20 15:01:04.502736981 +0000
|
|
@@ -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]}"
|