From cebdb0b5758ba4553ae5a012a468422bffb4e6c7 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Sun, 8 Aug 2021 22:24:39 +0200 Subject: [PATCH] Kernel: Fix logic typo in ConsoleManagement::is_initialized() Regressed in 2ff3c54153b66e71f2917afe525d64fe63305245. --- Kernel/TTY/ConsoleManagement.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Kernel/TTY/ConsoleManagement.cpp b/Kernel/TTY/ConsoleManagement.cpp index 999538af017..796cecf3d0e 100644 --- a/Kernel/TTY/ConsoleManagement.cpp +++ b/Kernel/TTY/ConsoleManagement.cpp @@ -29,7 +29,7 @@ bool ConsoleManagement::is_initialized() return false; if (s_the->m_consoles.is_empty()) return false; - if (s_the->m_active_console) + if (!s_the->m_active_console) return false; return true; }