summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Userland/Services/FileSystemAccessServer/ConnectionFromClient.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Services/FileSystemAccessServer/ConnectionFromClient.cpp b/Userland/Services/FileSystemAccessServer/ConnectionFromClient.cpp
index 2b1710a5ea..573fb51e67 100644
--- a/Userland/Services/FileSystemAccessServer/ConnectionFromClient.cpp
+++ b/Userland/Services/FileSystemAccessServer/ConnectionFromClient.cpp
@@ -83,7 +83,7 @@ void ConnectionFromClient::request_file_handler(i32 request_id, i32 window_serve
async_handle_prompt_end(request_id, 0, IPC::File(*file.release_value(), IPC::File::CloseAfterSending), path);
}
} else {
- async_handle_prompt_end(request_id, -1, Optional<IPC::File> {}, path);
+ async_handle_prompt_end(request_id, EPERM, Optional<IPC::File> {}, path);
}
}