diff --git a/Userland/Applications/SystemMonitor/main.cpp b/Userland/Applications/SystemMonitor/main.cpp index de94c32f5d..72c35b8418 100644 --- a/Userland/Applications/SystemMonitor/main.cpp +++ b/Userland/Applications/SystemMonitor/main.cpp @@ -139,7 +139,8 @@ int main(int argc, char** argv) return 1; } - if (unveil("/usr/local/bin", "r") < 0) { + // This directory only exists if ports are installed + if (unveil("/usr/local/bin", "r") < 0 && errno != ENOENT) { perror("unveil"); return 1; }