summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2016-05-02 16:02:02 +0200
committerLennart Poettering <lennart@poettering.net>2016-05-02 16:02:02 +0200
commitbd10a84b7ffaa61b83c3cfa46fc75c69b961c360 (patch)
tree9e4fd8388781410238e830c8300f15a24d726570
parent9703a8adb5c2ef16fcbf0e92189494a5a3438b06 (diff)
downloadsystemd-bd10a84b7ffaa61b83c3cfa46fc75c69b961c360.tar.gz
systemd-bd10a84b7ffaa61b83c3cfa46fc75c69b961c360.tar.bz2
systemd-bd10a84b7ffaa61b83c3cfa46fc75c69b961c360.zip
fstab-generator: add newline before we start a new unit file section
We already did this for the [Mount] section, let's do the same for [Automount].
-rw-r--r--src/fstab-generator/fstab-generator.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fstab-generator/fstab-generator.c b/src/fstab-generator/fstab-generator.c
index 6f576b5ecf..343e3b1817 100644
--- a/src/fstab-generator/fstab-generator.c
+++ b/src/fstab-generator/fstab-generator.c
@@ -379,6 +379,7 @@ static int add_mount(
}
fprintf(f,
+ "\n"
"[Automount]\n"
"Where=%s\n",
where);