diff options
Diffstat (limited to 'Userland/realpath.cpp')
-rw-r--r-- | Userland/realpath.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Userland/realpath.cpp b/Userland/realpath.cpp index bc8064d4e3..38de974446 100644 --- a/Userland/realpath.cpp +++ b/Userland/realpath.cpp @@ -32,6 +32,11 @@ int main(int argc, char** argv) { + if (pledge("stdio rpath", nullptr) < 0) { + perror("pledge"); + return 1; + } + if (argc != 2) { printf("usage: realpath <path>\n"); return 1; |