runner
This commit is contained in:
parent
d30e6c3697
commit
2ccbd5b432
2
lxc.js
2
lxc.js
@ -25,7 +25,7 @@ var lxc = {
|
|||||||
destroy: function(name, callback){
|
destroy: function(name, callback){
|
||||||
return sysExec('lxc-destroy -n '+ name, function(data){
|
return sysExec('lxc-destroy -n '+ name, function(data){
|
||||||
var info = data.match(/Destroyed container/);
|
var info = data.match(/Destroyed container/);
|
||||||
console.log('destroy info:' info);
|
console.log('destroy info:', info);
|
||||||
var args = [true].concat(Array.prototype.slice.call(arguments, 1));
|
var args = [true].concat(Array.prototype.slice.call(arguments, 1));
|
||||||
callback.apply(this, args);
|
callback.apply(this, args);
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user