stop
This commit is contained in:
1 parent
ed7d0972ac
commit
ec07ce2ee0
1 file changed
+1
-1
@@ -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/))
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user