diff options
author | Andreas Kling <kling@serenityos.org> | 2021-07-04 23:14:57 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-07-04 23:15:17 +0200 |
commit | 45a2bc27d5126b5c0c0fed38a5cd8e9df4e049dd (patch) | |
tree | 345f9b60eac8aa788a976f586c0f8cfe80988cba /Userland | |
parent | 085da369ff8b071d970f4b42348f3e8f12fa60f6 (diff) | |
download | serenity-45a2bc27d5126b5c0c0fed38a5cd8e9df4e049dd.zip |
Assistant: Don't index the /dev directory
Diffstat (limited to 'Userland')
-rw-r--r-- | Userland/Applications/Assistant/Providers.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Applications/Assistant/Providers.cpp b/Userland/Applications/Assistant/Providers.cpp index bfdebf10e4..1f126b2da3 100644 --- a/Userland/Applications/Assistant/Providers.cpp +++ b/Userland/Applications/Assistant/Providers.cpp @@ -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); |