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