From 0a350b28857f7ecd6cfc6a6c91c617a1c4792c6d Mon Sep 17 00:00:00 2001 From: william Date: Fri, 29 Jan 2016 15:36:47 -0500 Subject: [PATCH] tried a fix --- lxc.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lxc.js b/lxc.js index 73098a5..3135f82 100644 --- a/lxc.js +++ b/lxc.js @@ -21,7 +21,7 @@ module.exports = function(config){ var runCommand = sshBind.slice(); runCommand.push(command); } else { - var runCommand = textToArgs(command); + var runCommand = textToArgs('unset XDG_SESSION_ID XDG_RUNTIME_DIR; cgm movepid all virt $$; '+command); } var errors = ''; @@ -120,6 +120,5 @@ module.exports = function(config){ }); }; - return obj; }; \ No newline at end of file