summaryrefslogtreecommitdiff
path: root/Applications
diff options
context:
space:
mode:
authorAlex Muscar <src@muscar.eu>2020-03-16 11:05:48 +0000
committerAlex Muscar <src@muscar.eu>2020-03-16 11:05:48 +0000
commit838d1c38a12599ecb01707fed559ad16cba63e1b (patch)
tree505d5c49d6c8cb639502cd72204306bf39643b11 /Applications
parent66794d51ef3524a90ccc363210cc8edfea0dd51e (diff)
downloadserenity-838d1c38a12599ecb01707fed559ad16cba63e1b.zip
SystemMenu: Remove the unveil() call for /etc/PowerOptions.ini
The file is not used.
Diffstat (limited to 'Applications')
-rw-r--r--Applications/SystemMenu/main.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/Applications/SystemMenu/main.cpp b/Applications/SystemMenu/main.cpp
index 9d4eae6b81..a2321427b9 100644
--- a/Applications/SystemMenu/main.cpp
+++ b/Applications/SystemMenu/main.cpp
@@ -90,11 +90,6 @@ int main(int argc, char** argv)
return 1;
}
- if (unveil("/etc/PowerOptions.ini", "r")) {
- perror("unveil");
- return 1;
- }
-
unveil(nullptr, nullptr);
return app.exec();