This commit is contained in:
Flummi 2016-11-02 17:59:40 +01:00
parent 1e29de8b17
commit 53f91f2ba4

View File

@ -182,6 +182,7 @@ module.exports = (lib) => {
else { else {
fs.stat('./b/' + tmpdest, (err, stat) => { fs.stat('./b/' + tmpdest, (err, stat) => {
if(!err) { if(!err) {
lib.log('Datei '+tmpdest+' existiert');
lib.getCheckSum('./b/' + tmpdest, (cbcs) => { lib.getCheckSum('./b/' + tmpdest, (cbcs) => {
lib.checkRepostCheckSum(cbcs, (cbcrcs) => { lib.checkRepostCheckSum(cbcs, (cbcrcs) => {
if(cbcrcs === true) { if(cbcrcs === true) {
@ -196,6 +197,9 @@ module.exports = (lib) => {
}); });
}); });
} }
else {
lib.log('Datei '+tmpdest+' existiert nicht');
}
}); });
} }
}) })