This commit is contained in:
William Mantly 2016-01-29 17:28:55 -05:00
parent ed7d0972ac
commit ec07ce2ee0

2
lxc.js
View File

@ -52,7 +52,7 @@ module.exports = function(config){
obj.destroy = function(name, callback){
sysExec('lxc-destroy -n '+ name, function(data){
callback(data.match(/Destroyed container u1-sdfwefwe\n/))
callback(!data.match(/Destroyed container u1-sdfwefwe\n/))
});
};