Permalink
Browse files

Fixed standalone read from stdin regression. Closes #153

interestingly enough I could not reproduce this on osx,
but could on linux :s should be ok now
  • Loading branch information...
1 parent ae02769 commit dd14a09ccdca66586b638309ae9ff3a950f7c479 @tj tj committed Oct 3, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/master.js
View
@@ -249,7 +249,7 @@ Master.prototype.start = function(fn){
// standalone
} else {
this.on('start', function(){ self.emit('listening'); });
- this.acceptFd();
+ if (this.isChild) this.acceptFd();
this.setupIPC();
}
}

0 comments on commit dd14a09

Please sign in to comment.