diff --git a/Userland/Services/FileSystemAccessServer/ClientConnection.cpp b/Userland/Services/FileSystemAccessServer/ClientConnection.cpp index 3c5979f22b7..d863a22c475 100644 --- a/Userland/Services/FileSystemAccessServer/ClientConnection.cpp +++ b/Userland/Services/FileSystemAccessServer/ClientConnection.cpp @@ -122,7 +122,7 @@ T ClientConnection::prompt_helper(Optional const& user_picked_file, Core if (file.is_error()) { dbgln("FileSystemAccessServer: Couldn't open {}, error {}", user_picked_file.value(), file.error()); - return { errno, Optional {}, Optional {} }; + return { errno, Optional {}, user_picked_file.value() }; } auto maybe_permissions = m_approved_files.get(user_picked_file.value());