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().
This commit is contained in:
YmrDtnJu
2018-06-23 08:17:07 +09:00
committed by Yu Watanabe
parent 25612ecba4
commit a26fec2408
+1 -1
View File
@@ -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) {