tree-wide: enable colorized logging for daemons when run in console
It may be useful when debugging daemons.
This commit is contained in:
@@ -317,7 +317,7 @@ static int run(int argc, char *argv[]) {
|
||||
return log_error_errno(SYNTHETIC_ERRNO(EINVAL),
|
||||
"This program does not take arguments.");
|
||||
|
||||
log_setup_service();
|
||||
log_setup();
|
||||
|
||||
umask(0022);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user