From 74aea9100fdd8957f1179f613a74942a52aad4bc Mon Sep 17 00:00:00 2001 From: william Date: Fri, 29 Jan 2016 17:29:43 -0500 Subject: [PATCH] stop --- lxc.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lxc.js b/lxc.js index 1278f39..45a8fc8 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/)) }); };