Oops :)
This commit is contained in:
parent
1ab50e301e
commit
976fafa07e
@ -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 ) )
|
||||
|
Loading…
x
Reference in New Issue
Block a user