fstab-generator: do not skip Before= ordering for noauto mountpoints (#5547)
authorIvan Shapovalov <intelfx@intelfx.name>
Mon, 24 Apr 2017 16:38:53 +0000 (20:38 +0400)
committerLennart Poettering <lennart@poettering.net>
Mon, 24 Apr 2017 16:38:53 +0000 (18:38 +0200)
src/fstab-generator/fstab-generator.c

index 2677a3f..50d350f 100644 (file)
@@ -358,7 +358,7 @@ static int add_mount(
                 "Documentation=man:fstab(5) man:systemd-fstab-generator(8)\n",
                 source);
 
-        if (!noauto && !nofail && !automount)
+        if (!nofail && !automount)
                 fprintf(f, "Before=%s\n", post);
 
         if (!automount && opts) {