diff options
Diffstat (limited to 'Userland/Applications/TextEditor/main.cpp')
-rw-r--r-- | Userland/Applications/TextEditor/main.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/Userland/Applications/TextEditor/main.cpp b/Userland/Applications/TextEditor/main.cpp index 247f9ac4fd..ad1a56b313 100644 --- a/Userland/Applications/TextEditor/main.cpp +++ b/Userland/Applications/TextEditor/main.cpp @@ -15,18 +15,13 @@ using namespace TextEditor; int main(int argc, char** argv) { - if (pledge("stdio recvfd sendfd thread rpath accept cpath wpath unix fattr", nullptr) < 0) { + if (pledge("stdio recvfd sendfd thread rpath cpath wpath unix", nullptr) < 0) { perror("pledge"); return 1; } auto app = GUI::Application::construct(argc, argv); - if (pledge("stdio recvfd sendfd thread rpath accept cpath wpath unix", nullptr) < 0) { - perror("pledge"); - return 1; - } - const char* preview_mode = "auto"; const char* file_to_edit = nullptr; Core::ArgsParser parser; |