stop
This commit is contained in:
parent
ed7d0972ac
commit
ec07ce2ee0
2
lxc.js
2
lxc.js
@ -52,7 +52,7 @@ module.exports = function(config){
|
|||||||
|
|
||||||
obj.destroy = function(name, callback){
|
obj.destroy = function(name, callback){
|
||||||
sysExec('lxc-destroy -n '+ name, function(data){
|
sysExec('lxc-destroy -n '+ name, function(data){
|
||||||
callback(data.match(/Destroyed container u1-sdfwefwe\n/))
|
callback(!data.match(/Destroyed container u1-sdfwefwe\n/))
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user