conf_parse_cmdline(): Relax check for 'debug' flag

Relax check for 'debug' flag, we want to catch '--debug' and 'finit_debug'

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson
2017-12-30 21:57:36 +01:00
parent 6d1c245985
commit 631f89b58c
+1 -1
View File
@@ -76,7 +76,7 @@ void conf_parse_cmdline(void)
cmdline = NULL;
/* Catches finit_debug (deprecated), --debug, and debug */
if (string_compare(tok, "debug"))
if (strstr(tok, "debug"))
dbg = 1;
if (string_compare(tok, "rescue") || string_compare(tok, "recover"))