Skip to content

Commit

Permalink
sqelch port binding messages
Browse files Browse the repository at this point in the history
  • Loading branch information
mschubert committed Sep 29, 2018
1 parent ae9cb97 commit d45902f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/util.r
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ bind_avail = function(socket, range, iface="tcp://*", n_tries=100) {

for (i in 1:n_tries) {
addr = paste(iface, ports[i], sep=":")
port_found = rzmq::bind.socket(socket, addr)
utils::capture.output({port_found = rzmq::bind.socket(socket, addr)}, type="message")
if (port_found)
break
}
Expand Down

0 comments on commit d45902f

Please sign in to comment.