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/rfkill | |
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/rfkill')
-rw-r--r-- | src/rfkill/rfkill.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rfkill/rfkill.c b/src/rfkill/rfkill.c index c38716842b..91dc72f425 100644 --- a/src/rfkill/rfkill.c +++ b/src/rfkill/rfkill.c @@ -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); |