Browse Source

Fix ChildProcess::Kill

v0.7.4-release
Ryan Dahl 15 years ago
parent
commit
765f0cdece
  1. 2
      src/node_child_process.cc

2
src/node_child_process.cc

@ -270,7 +270,7 @@ void ChildProcess::OnExit(int code) {
int ChildProcess::Kill(int sig) {
if (pid_ > 0) return -1;
if (pid_ < 1) return -1;
return kill(pid_, sig);
}

Loading…
Cancel
Save