From ec07ce2ee0f01ea13b178cabf6eea2290c8f7cca Mon Sep 17 00:00:00 2001 From: william Date: Fri, 29 Jan 2016 17:28:55 -0500 Subject: [PATCH] stop --- lxc.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lxc.js b/lxc.js index 5004fce..1278f39 100644 --- a/lxc.js +++ b/lxc.js @@ -52,7 +52,7 @@ module.exports = function(config){ obj.destroy = function(name, callback){ sysExec('lxc-destroy -n '+ name, function(data){ - callback(data.match(/Destroyed container u1-sdfwefwe\n/)) + callback(!data.match(/Destroyed container u1-sdfwefwe\n/)) }); };