(testsuite) Fix superfluous `&&' in get_hosts_avahi()

This commit is contained in:
Freddy Vulto 2009-11-25 21:47:58 +01:00
parent 032483036f
commit 8c94bf6944

View File

@ -380,7 +380,7 @@ proc get_hosts {} {
proc get_hosts_avahi {} {
# Retrieving hosts is successful?
if { [catch {exec bash -c {
type avahi-browse >&/dev/null && \
type avahi-browse >&/dev/null \
&& avahi-browse -cpr _workstation._tcp 2>/dev/null | grep ^= | cut -d\; -f7 | sort -u
}} hosts] } {
# No, retrieving hosts yields error;