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