diff options
author | YmrDtnJu <YmrDtnJu@users.noreply.github.com> | 2018-06-22 23:17:07 +0000 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2018-06-23 08:17:07 +0900 |
commit | a26fec240862c7bc466f468490bae2395f263708 (patch) | |
tree | 16389b9292b5db7500e9db2d04feb37d7c730f41 /src | |
parent | 25612ecba42cd45e12438c1f63540a930c6de475 (diff) | |
download | systemd-a26fec240862c7bc466f468490bae2395f263708.tar.gz |
core: Actually use the resolved path for TemporaryFileSystem= (#9385)
The code already resolves specifiers using unit_full_printf() but then uses the
unresolved version again for temporary_filesystem_add().
Diffstat (limited to 'src')
-rw-r--r-- | src/core/load-fragment.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/load-fragment.c b/src/core/load-fragment.c index d9a5094aa0..fa3605294b 100644 --- a/src/core/load-fragment.c +++ b/src/core/load-fragment.c @@ -3904,7 +3904,7 @@ int config_parse_temporary_filesystems( if (r < 0) continue; - r = temporary_filesystem_add(&c->temporary_filesystems, &c->n_temporary_filesystems, path, w); + r = temporary_filesystem_add(&c->temporary_filesystems, &c->n_temporary_filesystems, resolved, w); if (r == -ENOMEM) return log_oom(); if (r < 0) { |