mirror of
https://github.com/troglobit/finit.git
synced 2026-10-03 06:23:11 +07:00
Allow debug mode to override terse mode
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
@@ -266,6 +266,10 @@ static void cb(uev_t *w, void *UNUSED(arg), int UNUSED(events))
|
||||
|
||||
case INIT_CMD_DEBUG:
|
||||
debug = !debug;
|
||||
if (debug)
|
||||
verbose = 1;
|
||||
else
|
||||
verbose = quiet ? 0 : VERBOSE_MODE;
|
||||
break;
|
||||
|
||||
case INIT_CMD_RELOAD: /* 'init q' and 'initctl reload' */
|
||||
|
||||
Reference in New Issue
Block a user