diff --git a/main/source/init/tasks.cpp b/main/source/init/tasks.cpp index 41dd01990..5cde17fe6 100644 --- a/main/source/init/tasks.cpp +++ b/main/source/init/tasks.cpp @@ -445,7 +445,7 @@ namespace hex::init { } bool clearOldLogs() { - for (const auto &path : fs::getDefaultPaths(fs::ImHexPath::Logs, true)) { + for (const auto &path : fs::getDefaultPaths(fs::ImHexPath::Logs)) { std::vector files; for (const auto& file : std::filesystem::directory_iterator(path))