diff --git a/Userland/Applications/SystemMonitor/main.cpp b/Userland/Applications/SystemMonitor/main.cpp index 7c35dfacc6..8fc3d2063a 100644 --- a/Userland/Applications/SystemMonitor/main.cpp +++ b/Userland/Applications/SystemMonitor/main.cpp @@ -265,7 +265,9 @@ ErrorOr serenity_main(Main::Arguments arguments) return result.release_error(); TRY(Core::System::unveil("/bin/Profiler", "rx")); - TRY(Core::System::unveil("/bin/HackStudio", "rx")); + // HackStudio doesn't exist in the minimal build configuration. + if (auto result = Core::System::unveil("/bin/HackStudio", "rx"); result.is_error() && result.error().code() != ENOENT) + return result.release_error(); TRY(Core::System::unveil(nullptr, nullptr)); StringView args_tab = "processes"sv;