1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 12:47:35 +00:00

Merge pull request #1473 from muscar/dek20-system-menu-remove-power-options-unveil

SystemMenu: Remove the unveil() call for /etc/PowerOptions.ini
This commit is contained in:
Andreas Kling 2020-03-16 12:10:37 +01:00 committed by GitHub
commit 6da7fd9aab
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -90,11 +90,6 @@ int main(int argc, char** argv)
return 1; return 1;
} }
if (unveil("/etc/PowerOptions.ini", "r")) {
perror("unveil");
return 1;
}
unveil(nullptr, nullptr); unveil(nullptr, nullptr);
return app.exec(); return app.exec();