mirror of
https://github.com/Dahlgren/arma-server-web-admin.git
synced 2024-08-30 17:22:10 +00:00
Fixed incorrect variable name i logs manager
This commit is contained in:
parent
8fda40f48d
commit
e72b4f65ce
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user