summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-04-30 12:32:41 +0200
committerAndreas Kling <kling@serenityos.org>2020-04-30 12:32:41 +0200
commit6c0fed38666fec80f21d5c39f0adb609eae991ba (patch)
treea11bf4892d6e16563591450c1e073f7527beaab7
parente8a5c10382e1c8935ce17e4a0360209eadb1cfc5 (diff)
downloadserenity-6c0fed38666fec80f21d5c39f0adb609eae991ba.zip
TextEditor: Pledge "unix" so we can load images in Markdown preview
We should think a bit more about how we want preview content to interact with the outside world, but for now let's just make it run.
-rw-r--r--Applications/TextEditor/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Applications/TextEditor/main.cpp b/Applications/TextEditor/main.cpp
index 23d67ae586..3b3bf8d59b 100644
--- a/Applications/TextEditor/main.cpp
+++ b/Applications/TextEditor/main.cpp
@@ -37,7 +37,7 @@ int main(int argc, char** argv)
GUI::Application app(argc, argv);
- if (pledge("stdio thread rpath accept cpath wpath shared_buffer", nullptr) < 0) {
+ if (pledge("stdio thread rpath accept cpath wpath shared_buffer unix", nullptr) < 0) {
perror("pledge");
return 1;
}