Fixed incorrect variable name i logs manager

This commit is contained in:
Björn Dahlgren 2015-11-22 11:11:35 +01:00
parent 8fda40f48d
commit e72b4f65ce

View File

@ -85,7 +85,7 @@ Logs.prototype.getLogFile = function (filename, callback) {
});
if (validLogs.length > 0) {
callback(null, logfile[0]);
callback(null, validLogs[0]);
} else {
callback(null, null);
}