summaryrefslogtreecommitdiff
path: root/src/update-utmp
diff options
context:
space:
mode:
Diffstat (limited to 'src/update-utmp')
-rw-r--r--src/update-utmp/update-utmp.c2
1 files changed, 1 insertions, 1 deletions
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);