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

child_process: fix order of args to errnoException()

  • Loading branch information...
tshinnic authored and bnoordhuis committed Nov 28, 2011
1 parent a5c51b4 commit eba1f7b1a49ac095f891a8b8477e5f286a862280
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/child_process.js
@@ -440,7 +440,7 @@ ChildProcess.prototype.spawn = function(options) {

this._internal.close();
this._internal = null;
throw errnoException('spawn', errno);
throw errnoException(errno, 'spawn');
}

this.pid = this._internal.pid;

0 comments on commit eba1f7b

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