From 90866a095d97abeb074cac5fa6322c61ae45ffd4 Mon Sep 17 00:00:00 2001 From: Luke Slater Date: Sat, 10 Mar 2012 18:00:16 +0000 Subject: [PATCH] stderr? --- modules/admin.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/admin.js b/modules/admin.js index d7af0c8..7ddc950 100644 --- a/modules/admin.js +++ b/modules/admin.js @@ -23,8 +23,8 @@ var adminCommands = function(dbot) { 'greload': function(data, params) { var child; - child = exec("cd ../ && git pull", function (error, stdout, stderr) { - console.log(stdout); + child = exec("git pull", function (error, stdout, stderr) { + console.log(stderr); commands.reload(data, params); }.bind(this)); },