diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2017-10-06 16:03:33 +0900 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2017-10-06 16:03:33 +0900 |
commit | c31ad024034c97ab8343810822541407aa91b73b (patch) | |
tree | 4b108bbcf3cbfd11ec2b88091db8b36225d7d959 /src/timesync | |
parent | 4a1f92c704aad80e9fde3f3d1678a5e5e944ae47 (diff) | |
download | systemd-c31ad024034c97ab8343810822541407aa91b73b.tar.gz |
mkdir: introduce follow_symlink flag to mkdir_safe{,_label}()
Diffstat (limited to 'src/timesync')
-rw-r--r-- | src/timesync/timesyncd.c | 2 |
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"); |