summaryrefslogtreecommitdiffstats
path: root/src/fstab-generator
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2021-05-08 10:43:49 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2021-05-28 06:44:38 +0200
commit4ff361cc8611459388d7f75955bfe645f894f065 (patch)
treef0fe232aee56d0517cdd0e8b86f1d497afe65f85 /src/fstab-generator
parentpath-util: make path_extract_filename/directory() handle "." gracefully (diff)
downloadsystemd-4ff361cc8611459388d7f75955bfe645f894f065.tar.xz
systemd-4ff361cc8611459388d7f75955bfe645f894f065.zip
tree-wide: always drop unnecessary dot in path
Diffstat (limited to 'src/fstab-generator')
-rw-r--r--src/fstab-generator/fstab-generator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fstab-generator/fstab-generator.c b/src/fstab-generator/fstab-generator.c
index 1d8ee93013..a4e3ea5311 100644
--- a/src/fstab-generator/fstab-generator.c
+++ b/src/fstab-generator/fstab-generator.c
@@ -610,7 +610,7 @@ static int parse_fstab(bool initrd) {
return log_oom();
if (is_path(where)) {
- path_simplify(where, false);
+ path_simplify(where);
/* Follow symlinks here; see 5261ba901845c084de5a8fd06500ed09bfb0bd80 which makes sense for
* mount units, but causes problems since it historically worked to have symlinks in e.g.