Skip to content
This repository was archived by the owner on Dec 13, 2023. It is now read-only.

Commit d9b66b4

Browse files
author
warner
committed
fix minor callback behavior error
1 parent 524e5f5 commit d9b66b4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tunnel_start.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -409,10 +409,9 @@ module.exports = {
409409
if(!_.isNull(cbts)){
410410
cbts.endWrap(cb);
411411
cbts = null;
412-
cb(null,true);
413412
}else{
414413
warn('You must start the tunnel first by calling the function "start" with the relevant parameters.');
415-
cb(new Error('Tunnel is not started!'));
414+
cb(new Error('Tunnel is not started!'),false);
416415
}
417416
},
418417
status: function(){

0 commit comments

Comments
 (0)