mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 23:50:19 +00:00
Assistant: Don't index the /dev directory
This commit is contained in:
parent
085da369ff
commit
45a2bc27d5
Notes:
sideshowbarker
2024-07-18 10:26:02 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/45a2bc27d51
1 changed files with 1 additions and 1 deletions
|
@ -171,7 +171,7 @@ void FileProvider::build_filesystem_cache()
|
|||
while (!m_work_queue.is_empty()) {
|
||||
auto base_directory = m_work_queue.dequeue();
|
||||
|
||||
if (base_directory.template is_one_of("/proc"sv, "/sys"sv))
|
||||
if (base_directory.template is_one_of("/dev"sv, "/proc"sv, "/sys"sv))
|
||||
continue;
|
||||
|
||||
Core::DirIterator di(base_directory, Core::DirIterator::SkipDots);
|
||||
|
|
Loading…
Reference in a new issue