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