diff --git a/Userland/stat.cpp b/Userland/stat.cpp index cd5c9085ec..b33f89ab43 100644 --- a/Userland/stat.cpp +++ b/Userland/stat.cpp @@ -35,6 +35,11 @@ int main(int argc, char** argv) { + if (pledge("stdio rpath", nullptr) < 0) { + perror("pledge"); + return 1; + } + if (argc == 1) { printf("stat \n"); return 1;