Skip to content
This repository has been archived by the owner on Oct 30, 2018. It is now read-only.

Commit

Permalink
make sure that we have a valid uri for tunnel
Browse files Browse the repository at this point in the history
  • Loading branch information
Gordon Hall committed Apr 22, 2016
1 parent 085305e commit e55c37d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/network/index.js
Expand Up @@ -432,7 +432,7 @@ Network.prototype._establishTunnel = function(tunnels) {
var alias = null;

function established() {
return tunnel !== null && alias !== null;
return tunnel && alias;
}

function openTunnel(callback) {
Expand Down

0 comments on commit e55c37d

Please sign in to comment.