fstab-generator: do not skip Before= ordering for noauto mountpoints (#5547)

This commit is contained in:
Ivan Shapovalov
2017-04-24 18:38:53 +02:00
committed by Lennart Poettering
parent f934644424
commit bd6bcce4d7
+1 -1
View 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) {