AudioApplet: Remove wpath and cpath priviliges

This commit is contained in:
Mustafa Quraish 2021-08-27 12:35:28 -04:00 committed by Andreas Kling
parent 17299db61a
commit 525a7e487b
Notes: sideshowbarker 2024-07-18 05:12:03 +09:00

View file

@ -233,7 +233,7 @@ int main(int argc, char** argv)
unveil(nullptr, nullptr);
if (pledge("stdio recvfd sendfd rpath wpath cpath", nullptr) < 0) {
if (pledge("stdio recvfd sendfd rpath", nullptr) < 0) {
perror("pledge");
return 1;
}