2015-03-09 09:20:20 +01:00
|
|
|
--- systemd-210/shell-completion/bash/systemctl
|
|
|
|
+++ systemd-210/shell-completion/bash/systemctl 2014-08-20 15:01:04.502736981 +0000
|
2014-08-20 17:07:31 +02:00
|
|
|
@@ -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]}"
|