Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

make stderr stream non-destroyable

  • Loading branch information...
Igor Zinkovsky
Igor Zinkovsky committed Nov 9, 2011
1 parent 4fc0fdc commit 5d89540b776f07dcee43b9aeed1dce775ef63529
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/node.js
@@ -284,6 +284,7 @@
process.__defineGetter__('stderr', function() {
if (stderr) return stderr;
stderr = createWritableStdioStream(2);
stderr.end = stderr.destroy = stderr.destroySoon = function() { };
return stderr;
});

0 comments on commit 5d89540

Please sign in to comment.
You can’t perform that action at this time.