mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-10 11:58:08 +00:00
Merge "Fix processing of asterisk.conf debug=yes." into 11
This commit is contained in:
@@ -3350,7 +3350,7 @@ static void ast_readconfig(void)
|
||||
} else if (!strcasecmp(v->name, "debug")) {
|
||||
option_debug = 0;
|
||||
if (sscanf(v->value, "%30d", &option_debug) != 1) {
|
||||
option_debug = ast_true(v->value);
|
||||
option_debug = ast_true(v->value) ? 1 : 0;
|
||||
}
|
||||
#if HAVE_WORKING_FORK
|
||||
/* Disable forking (-f at startup) */
|
||||
|
||||
Reference in New Issue
Block a user