]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
fstab-generator: add newline before we start a new unit file section
authorLennart Poettering <lennart@poettering.net>
Mon, 2 May 2016 14:02:02 +0000 (16:02 +0200)
committerLennart Poettering <lennart@poettering.net>
Mon, 2 May 2016 14:02:02 +0000 (16:02 +0200)
We already did this for the [Mount] section, let's do the same for [Automount].

src/fstab-generator/fstab-generator.c

index 6f576b5ecf8a107246ba8ed8ddad1079619de036..343e3b18179d391d42e4a55d12276774d54f7f6b 100644 (file)
@@ -379,6 +379,7 @@ static int add_mount(
                 }
 
                 fprintf(f,
+                        "\n"
                         "[Automount]\n"
                         "Where=%s\n",
                         where);