diff --git a/Userland/Shell/Builtin.cpp b/Userland/Shell/Builtin.cpp index 515f7b9e61f..3d9a54cd3cc 100644 --- a/Userland/Shell/Builtin.cpp +++ b/Userland/Shell/Builtin.cpp @@ -1253,7 +1253,7 @@ ErrorOr Shell::builtin_kill(Main::Arguments arguments) // Simply translate the arguments and pass them to `kill' Vector replaced_values; auto kill_path_or_error = FileSystem::resolve_executable_from_environment("kill"sv); - if (!kill_path_or_error.is_error()) { + if (kill_path_or_error.is_error()) { warnln("kill: `kill' not found in PATH"); return 126; }