mirror of
https://github.com/troglobit/finit.git
synced 2026-10-05 15:23:31 +07:00
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:
+1
-1
@@ -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"))
|
||||
|
||||
Reference in New Issue
Block a user