[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 976fafa07e57f1e0085c08c55d7453098197fe98

David Paleino d.paleino at gmail.com
Sat Jun 20 07:17:54 UTC 2009


The following commit has been merged in the master branch:
commit 976fafa07e57f1e0085c08c55d7453098197fe98
Author: David Paleino <d.paleino at gmail.com>
Date:   Sat Jun 20 09:17:06 2009 +0200

    Oops :)

diff --git a/bash_completion b/bash_completion
index e56b871..2b7e589 100644
--- a/bash_completion
+++ b/bash_completion
@@ -1197,7 +1197,7 @@ _known_hosts_real()
         # Add hosts reported by avahi, if it's available
         # and if the daemon is started.
         if type avahi-browse >&/dev/null; then
-            if [ -z "$(pidof avahi-daemon)" ]; then
+            if [ -n "$(pidof avahi-daemon)" ]; then
                 COMPREPLY=( "${COMPREPLY[@]}" $(
                     compgen -W "$( avahi-browse -kcpr _workstation._tcp | \
                                    grep ^= | cut -d\; -f7 | sort -u )" -- $cur ) )

-- 
bash-completion



More information about the Bash-completion-commits mailing list