From 8e9ef0f873bf37ac4e68bd22f473cd3f4d5cd08e Mon Sep 17 00:00:00 2001 From: william Date: Sat, 30 Jan 2016 22:23:59 -0500 Subject: [PATCH] testing --- lxc.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lxc.js b/lxc.js index 8a19ec6..ed9a7fc 100644 --- a/lxc.js +++ b/lxc.js @@ -6,8 +6,9 @@ function sysExec(command, callback){ return exec(command, (function(){ return function(err,data,stderr){ - if(!callback) return; - callback(data, err, stderr); + if(callback){ + return callback(data, err, stderr); + } } })(callback)); };