diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2021-01-17 07:12:28 +0100 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2021-01-31 17:13:44 +0100 |
commit | d2acb93dc52b23a9e5d36dda48c1988aa6e9adf1 (patch) | |
tree | 011b4f6b2ca1ad39cc964ef66f3f5c6e2d91608e /src/user-sessions | |
parent | log: make tools also read the kernel command line when run as a service (diff) | |
download | systemd-d2acb93dc52b23a9e5d36dda48c1988aa6e9adf1.tar.xz systemd-d2acb93dc52b23a9e5d36dda48c1988aa6e9adf1.zip |
tree-wide: enable colorized logging for daemons when run in console
It may be useful when debugging daemons.
Diffstat (limited to 'src/user-sessions')
-rw-r--r-- | src/user-sessions/user-sessions.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/user-sessions/user-sessions.c b/src/user-sessions/user-sessions.c index d1b8176714..6b7493fd88 100644 --- a/src/user-sessions/user-sessions.c +++ b/src/user-sessions/user-sessions.c @@ -21,7 +21,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); |