mirror of
https://github.com/troglobit/finit.git
synced 2026-11-01 13:10:32 +00:00
log_init(): If called with debug disbled set (or restore) LOG_NOTICE
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
1 parent
4fa47eaf71
commit
c1bd3961cf
1 file changed
+2
@@ -42,6 +42,8 @@ void log_init(int dbg)
|
|||||||
|
|
||||||
if (debug)
|
if (debug)
|
||||||
loglevel = LOG_DEBUG;
|
loglevel = LOG_DEBUG;
|
||||||
|
else
|
||||||
|
loglevel = LOG_NOTICE;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* If we enabled terse mode at boot, restore to previous setting at shutdown */
|
/* If we enabled terse mode at boot, restore to previous setting at shutdown */
|
||||||
|
|||||||
Reference in new issue
Block a user