From 8463934651185d5659a86aa6dd2dffad3b6ae20e Mon Sep 17 00:00:00 2001 From: william Date: Tue, 2 Feb 2016 12:03:31 -0500 Subject: [PATCH] runner --- lxc.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lxc.js b/lxc.js index 7efc523..4c58263 100644 --- a/lxc.js +++ b/lxc.js @@ -24,7 +24,7 @@ var lxc = { destroy: function(name, callback){ return sysExec('lxc-destroy -n '+ name, function(data){ - var args = [(data.match(/Destroyed container/))].concat(Array.prototype.slice.call(arguments, 1)); + var args = [!!data.match(/Destroyed container/)].concat(Array.prototype.slice.call(arguments, 1)); callback.apply(this, args); }); },