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
Notes: sideshowbarker 2024-07-19 08:17:13 +09:00

View File

@ -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();