This commit is contained in:
William Mantly 2016-02-02 12:03:31 -05:00
parent 4834f30340
commit 8463934651

2
lxc.js
View File

@ -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);
});
},