summaryrefslogtreecommitdiff
path: root/Userland/Utilities/pgrep.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Utilities/pgrep.cpp')
-rw-r--r--Userland/Utilities/pgrep.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Utilities/pgrep.cpp b/Userland/Utilities/pgrep.cpp
index a35e278424..d7929c91e5 100644
--- a/Userland/Utilities/pgrep.cpp
+++ b/Userland/Utilities/pgrep.cpp
@@ -15,7 +15,7 @@
ErrorOr<int> serenity_main(Main::Arguments args)
{
TRY(Core::System::pledge("stdio rpath"));
- TRY(Core::System::unveil("/proc/all", "r"));
+ TRY(Core::System::unveil("/sys/kernel/processes", "r"));
TRY(Core::System::unveil("/etc/passwd", "r"));
TRY(Core::System::unveil(nullptr, nullptr));