From d2acb93dc52b23a9e5d36dda48c1988aa6e9adf1 Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Sun, 17 Jan 2021 15:12:28 +0900 Subject: tree-wide: enable colorized logging for daemons when run in console It may be useful when debugging daemons. --- src/update-utmp/update-utmp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/update-utmp') diff --git a/src/update-utmp/update-utmp.c b/src/update-utmp/update-utmp.c index 59c49f2a80..1ec9066d34 100644 --- a/src/update-utmp/update-utmp.c +++ b/src/update-utmp/update-utmp.c @@ -224,7 +224,7 @@ static int run(int argc, char *argv[]) { return log_error_errno(SYNTHETIC_ERRNO(EINVAL), "This program requires one argument."); - log_setup_service(); + log_setup(); umask(0022); -- cgit v1.2.1