tried a fix

This commit is contained in:
William Mantly 2016-01-29 15:36:47 -05:00
parent 9ce292e020
commit 0a350b2885

3
lxc.js
View File

@ -21,7 +21,7 @@ module.exports = function(config){
var runCommand = sshBind.slice(); var runCommand = sshBind.slice();
runCommand.push(command); runCommand.push(command);
} else { } else {
var runCommand = textToArgs(command); var runCommand = textToArgs('unset XDG_SESSION_ID XDG_RUNTIME_DIR; cgm movepid all virt $$; '+command);
} }
var errors = ''; var errors = '';
@ -120,6 +120,5 @@ module.exports = function(config){
}); });
}; };
return obj; return obj;
}; };