summaryrefslogtreecommitdiffstats
path: root/src/timesync
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2018-03-22 12:38:01 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2018-03-22 15:57:56 +0100
commitd50b5839b0d6f1e66860a6d8e125fd3fe96b76c8 (patch)
treee15345a0e1bb497415718991fa4702ca1d54f9df /src/timesync
parenttest-execute: skip exec-specifier-interpolation if perl is missing (diff)
downloadsystemd-d50b5839b0d6f1e66860a6d8e125fd3fe96b76c8.tar.xz
systemd-d50b5839b0d6f1e66860a6d8e125fd3fe96b76c8.zip
basic/mkdir: convert bool flag to enum
In preparation for subsequent changes...
Diffstat (limited to 'src/timesync')
-rw-r--r--src/timesync/timesyncd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/timesync/timesyncd.c b/src/timesync/timesyncd.c
index 3d7cfd5be5..9ab0912463 100644
--- a/src/timesync/timesyncd.c
+++ b/src/timesync/timesyncd.c
@@ -71,7 +71,7 @@ static int load_clock_timestamp(uid_t uid, gid_t gid) {
}
} else {
- r = mkdir_safe_label("/var/lib/systemd/timesync", 0755, uid, gid, true);
+ r = mkdir_safe_label("/var/lib/systemd/timesync", 0755, uid, gid, MKDIR_FOLLOW_SYMLINK);
if (r < 0)
return log_error_errno(r, "Failed to create state directory: %m");