diff --git a/Kernel/KParams.cpp b/Kernel/KParams.cpp index 37e3ee7275..26f4df771a 100644 --- a/Kernel/KParams.cpp +++ b/Kernel/KParams.cpp @@ -13,6 +13,10 @@ KParams::KParams(const String& cmdline) s_the = this; for (auto str : m_cmdline.split(' ')) { + if (str == "") { + continue; + } + auto pair = str.split_limit('=', 2); if (pair.size() == 1) {