1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-01 07:48:12 +00:00

ln: Use pledge()

This commit is contained in:
Andreas Kling 2020-02-18 13:21:28 +01:00
parent 03aea11589
commit a5f0b2aef0

View file

@ -32,6 +32,11 @@
int main(int argc, char** argv)
{
if (pledge("stdio cpath", nullptr) < 0) {
perror("pledge");
return 1;
}
bool symbolic = false;
const char* target = nullptr;
const char* path = nullptr;