summaryrefslogtreecommitdiff
path: root/src/timesync
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2017-10-06 16:03:33 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2017-10-06 16:03:33 +0900
commitc31ad024034c97ab8343810822541407aa91b73b (patch)
tree4b108bbcf3cbfd11ec2b88091db8b36225d7d959 /src/timesync
parent4a1f92c704aad80e9fde3f3d1678a5e5e944ae47 (diff)
downloadsystemd-c31ad024034c97ab8343810822541407aa91b73b.tar.gz
mkdir: introduce follow_symlink flag to mkdir_safe{,_label}()
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 6b802c607c..d895aa8cc1 100644
--- a/src/timesync/timesyncd.c
+++ b/src/timesync/timesyncd.c
@@ -69,7 +69,7 @@ static int load_clock_timestamp(uid_t uid, gid_t gid) {
}
} else {
- r = mkdir_safe_label("/var/lib/systemd/timesync", 0755, uid, gid);
+ r = mkdir_safe_label("/var/lib/systemd/timesync", 0755, uid, gid, false);
if (r < 0)
return log_error_errno(r, "Failed to create state directory: %m");