(testsuite) Fix superfluous `&&' in get_hosts_avahi()
This commit is contained in:
parent
032483036f
commit
8c94bf6944
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user