summaryrefslogtreecommitdiff
path: root/src/fstab-generator
diff options
context:
space:
mode:
authorIvan Shapovalov <intelfx@intelfx.name>2017-04-24 20:38:53 +0400
committerLennart Poettering <lennart@poettering.net>2017-04-24 18:38:53 +0200
commitbd6bcce4d7fd9f34f84588888fa9d0e664e0500b (patch)
tree7b5ba5a49fcade34d63aec064c9e9e188f3bf337 /src/fstab-generator
parentf934644424daa6c86fd2284fe8f33ea233ece874 (diff)
fstab-generator: do not skip Before= ordering for noauto mountpoints (#5547)
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 2677a3fb32..50d350fce8 100644
--- a/src/fstab-generator/fstab-generator.c
+++ b/src/fstab-generator/fstab-generator.c
@@ -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) {