summaryrefslogtreecommitdiff
path: root/MenuApplets/Clock/main.cpp
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2020-01-12 11:59:11 +0100
committerAndreas Kling <awesomekling@gmail.com>2020-01-12 12:03:57 +0100
commitf813bb52a28cfb42dcf73015e3ca659658c7d4d6 (patch)
treece8424de020d7395d7ad0ed5d70f5a8c1f81da4a /MenuApplets/Clock/main.cpp
parent114a770c6fb5fb9a269b3b662375e0811dfd37e9 (diff)
downloadserenity-f813bb52a28cfb42dcf73015e3ca659658c7d4d6.zip
Applications+DevTools+MenuApplets: Drop "unix" pledge when possible
Now that the "unix" pledge is no longer required for socket I/O, we can drop it after making the connections we need in a program. In most GUI program cases, once we've connected to the WindowServer by instantiating a GApplication, we no longer need "unix" :^)
Diffstat (limited to 'MenuApplets/Clock/main.cpp')
-rw-r--r--MenuApplets/Clock/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/MenuApplets/Clock/main.cpp b/MenuApplets/Clock/main.cpp
index ec9b418d8b..7f1964056c 100644
--- a/MenuApplets/Clock/main.cpp
+++ b/MenuApplets/Clock/main.cpp
@@ -71,7 +71,7 @@ int main(int argc, char** argv)
GApplication app(argc, argv);
- if (pledge("stdio shared_buffer rpath unix", nullptr) < 0) {
+ if (pledge("stdio shared_buffer rpath", nullptr) < 0) {
perror("pledge");
return 1;
}