From 631f89b58c48558fa512ae537c56e1dc0406c91e Mon Sep 17 00:00:00 2001 From: Joachim Nilsson Date: Sat, 30 Dec 2017 21:57:17 +0100 Subject: [PATCH] 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 --- src/conf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/conf.c b/src/conf.c index 0f1bb707..db8d09cd 100644 --- a/src/conf.c +++ b/src/conf.c @@ -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"))