From: Yu Watanabe Date: Fri, 30 Mar 2018 08:08:11 +0000 (+0900) Subject: bash-completion: busctl: do not suggest "-" for signature X-Git-Tag: v239~442^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4cbb7c500aa664452f45f8ec5a2b1f79a872eb2e;p=thirdparty%2Fsystemd.git bash-completion: busctl: do not suggest "-" for signature Fixes #8371. --- diff --git a/shell-completion/bash/busctl b/shell-completion/bash/busctl index cfa4d4fa831..c467b291b3f 100644 --- a/shell-completion/bash/busctl +++ b/shell-completion/bash/busctl @@ -70,7 +70,7 @@ __get_signature() { local interface=$4 local member=$5 local a b - busctl $mode introspect --list --no-legend --no-pager $busname $path $interface | sed -e 's/^\.//' | { while read a b c d; do [[ "$a" == "$member" ]] && echo " \"$c\""; done; }; + busctl $mode introspect --list --no-legend --no-pager $busname $path $interface | sed -e 's/^\.//' | { while read a b c d; do [[ "$a" == "$member" && "$c" != '-' ]] && echo " \"$c\""; done; }; } _busctl() {