From 4834f303403ba344793685f2124c1ea443bfb65e Mon Sep 17 00:00:00 2001 From: william Date: Tue, 2 Feb 2016 12:02:11 -0500 Subject: [PATCH] runner --- lxc.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lxc.js b/lxc.js index 3e4fc75..7efc523 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); }); },