summaryrefslogtreecommitdiff
path: root/Userland/Applications/Help/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Applications/Help/main.cpp')
-rw-r--r--Userland/Applications/Help/main.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/Userland/Applications/Help/main.cpp b/Userland/Applications/Help/main.cpp
index a3d01ba6bf..9a7f8fdaef 100644
--- a/Userland/Applications/Help/main.cpp
+++ b/Userland/Applications/Help/main.cpp
@@ -36,18 +36,13 @@
int main(int argc, char* argv[])
{
- if (pledge("stdio recvfd sendfd accept rpath unix cpath fattr", nullptr) < 0) {
+ if (pledge("stdio recvfd sendfd rpath unix", nullptr) < 0) {
perror("pledge");
return 1;
}
auto app = GUI::Application::construct(argc, argv);
- if (pledge("stdio recvfd sendfd accept rpath unix", nullptr) < 0) {
- perror("pledge");
- return 1;
- }
-
if (unveil("/res", "r") < 0) {
perror("unveil");
return 1;