From: Mike Yuan Date: Sun, 9 Feb 2025 19:25:21 +0000 (+0100) Subject: core/mount: filter out "fail" option as well X-Git-Tag: v258-rc1~1343^2~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7e9a78d6bea96bf8e9de615f6013c72f912f3e2d;p=thirdparty%2Fsystemd.git core/mount: filter out "fail" option as well --- diff --git a/src/core/mount.c b/src/core/mount.c index 6fff94d19b2..8a396f67f6b 100644 --- a/src/core/mount.c +++ b/src/core/mount.c @@ -1149,7 +1149,7 @@ static int mount_set_mount_command(Mount *m, ExecCommand *c, const MountParamete } _cleanup_free_ char *opts = NULL; - r = fstab_filter_options(p->options, "nofail\0" "noauto\0" "auto\0", NULL, NULL, NULL, &opts); + r = fstab_filter_options(p->options, "nofail\0" "fail\0" "noauto\0" "auto\0", NULL, NULL, NULL, &opts); if (r < 0) return r;