From 57fabcb24e7469a7558edf9fe84c774689f23822 Mon Sep 17 00:00:00 2001 From: william Date: Fri, 29 Jan 2016 17:16:13 -0500 Subject: [PATCH] stop --- lxc.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lxc.js b/lxc.js index 4829569..16e195e 100644 --- a/lxc.js +++ b/lxc.js @@ -89,7 +89,7 @@ module.exports = function(config){ obj.info = function(name, callback){ var output = ''; - sysExec('lxc-info -n'+name, function(data){output+=data}, function(error){ + sysExec('lxc-info -n '+name, function(data){ if(output.match("doesn't exist")) return callback({state: 'NULL'}); var info = {}; output = output.replace(/\suse/ig, '').replace(/\sbytes/ig, '').split("\n").slice(0,-1);