summaryrefslogtreecommitdiffstats
path: root/src/hibernate-resume/hibernate-resume.c
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2021-01-17 07:12:28 +0100
committerYu Watanabe <watanabe.yu+github@gmail.com>2021-01-31 17:13:44 +0100
commitd2acb93dc52b23a9e5d36dda48c1988aa6e9adf1 (patch)
tree011b4f6b2ca1ad39cc964ef66f3f5c6e2d91608e /src/hibernate-resume/hibernate-resume.c
parentlog: make tools also read the kernel command line when run as a service (diff)
downloadsystemd-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/hibernate-resume/hibernate-resume.c')
-rw-r--r--src/hibernate-resume/hibernate-resume.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hibernate-resume/hibernate-resume.c b/src/hibernate-resume/hibernate-resume.c
index d8f91f4e66..58e35e403e 100644
--- a/src/hibernate-resume/hibernate-resume.c
+++ b/src/hibernate-resume/hibernate-resume.c
@@ -20,7 +20,7 @@ int main(int argc, char *argv[]) {
return EXIT_FAILURE;
}
- log_setup_service();
+ log_setup();
umask(0022);