From 03339464a794371e05cb0b73dfb7351435dc23fb Mon Sep 17 00:00:00 2001 From: william Date: Sat, 30 Jan 2016 22:25:37 -0500 Subject: [PATCH] testing --- lxc.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lxc.js b/lxc.js index ed9a7fc..9088deb 100644 --- a/lxc.js +++ b/lxc.js @@ -5,12 +5,12 @@ function sysExec(command, callback){ command = 'unset XDG_SESSION_ID XDG_RUNTIME_DIR; cgm movepid all virt $$; ' + command; return exec(command, (function(){ - return function(err,data,stderr){ - if(callback){ - return callback(data, err, stderr); - } - } - })(callback)); + return function(err,data,stderr){ + if(callback){ + return callback(data, err, stderr); + } + } + })(callback)); }; var lxc = {