diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2017-10-06 09:03:33 +0200 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2017-10-06 09:03:33 +0200 |
commit | c31ad024034c97ab8343810822541407aa91b73b (patch) | |
tree | 4b108bbcf3cbfd11ec2b88091db8b36225d7d959 /src/timesync/timesyncd.c | |
parent | tmpfiles: remove old ICE and X11 sockets at boot (#6979) (diff) | |
download | systemd-c31ad024034c97ab8343810822541407aa91b73b.tar.xz systemd-c31ad024034c97ab8343810822541407aa91b73b.zip |
mkdir: introduce follow_symlink flag to mkdir_safe{,_label}()
Diffstat (limited to '')
-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"); |