summaryrefslogtreecommitdiffstats
path: root/src/timesync/timesyncd.c
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2017-10-06 09:03:33 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2017-10-06 09:03:33 +0200
commitc31ad024034c97ab8343810822541407aa91b73b (patch)
tree4b108bbcf3cbfd11ec2b88091db8b36225d7d959 /src/timesync/timesyncd.c
parenttmpfiles: remove old ICE and X11 sockets at boot (#6979) (diff)
downloadsystemd-c31ad024034c97ab8343810822541407aa91b73b.tar.xz
systemd-c31ad024034c97ab8343810822541407aa91b73b.zip
mkdir: introduce follow_symlink flag to mkdir_safe{,_label}()
Diffstat (limited to '')
-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");