testing
This commit is contained in:
parent
003895079d
commit
8e9ef0f873
5
lxc.js
5
lxc.js
@ -6,8 +6,9 @@ function sysExec(command, callback){
|
|||||||
|
|
||||||
return exec(command, (function(){
|
return exec(command, (function(){
|
||||||
return function(err,data,stderr){
|
return function(err,data,stderr){
|
||||||
if(!callback) return;
|
if(callback){
|
||||||
callback(data, err, stderr);
|
return callback(data, err, stderr);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
})(callback));
|
})(callback));
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user