From 7a755e04a94c1a58bf88c3643c1dd4a027865dbf Mon Sep 17 00:00:00 2001 From: Jonas Pfenniger Date: Sat, 30 Jan 2010 20:58:24 -0800 Subject: [PATCH] Was using the old node object to get the int from the constant. --- src/node_child_process.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/node_child_process.cc b/src/node_child_process.cc index 78d5c5c5be..95d363e473 100644 --- a/src/node_child_process.cc +++ b/src/node_child_process.cc @@ -148,7 +148,7 @@ Handle ChildProcess::Kill(const Arguments& args) { } else if (args[0]->IsString()) { Local signame = args[0]->ToString(); Local process = Context::GetCurrent()->Global(); - Local node_obj = process->Get(String::NewSymbol("node"))->ToObject(); + Local node_obj = process->Get(String::NewSymbol("process"))->ToObject(); Local sig_v = node_obj->Get(signame); if (!sig_v->IsNumber()) {