kernel/debug: Allow quotations to pass through early safemode settings.

The guarded heap override logic wants to see them at least.

Change-Id: I89c5c7a7b03e52f4bc42d71cba66775c213256e9
Reviewed-on: https://review.haiku-os.org/c/haiku/+/10597
Reviewed-by: waddlesplash <[email protected]>
This commit is contained in:
Augustin Cavalier
2026-03-27 18:23:31 +00:00
committed by waddlesplash
parent 2b3a46cc1b
commit d22a7a3355
@@ -105,6 +105,13 @@ get_option_from_kernel_args(kernel_args* args, const char* settingsName,
valueStart = settings;
elementEnd = &valueEnd;
}
if (*settings == '"' || *settings == '\'') {
// Just take everything until the end of the line, and let
// the caller deal with the quotations.
settings = lineEnd;
sawSeparator = true;
}
break;
}