]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
core: drop unused log message
authorYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 22 Jun 2018 21:39:19 +0000 (06:39 +0900)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sun, 24 Jun 2018 17:06:24 +0000 (19:06 +0200)
temporary_filesystem_add() does not parse mount options.

src/core/load-fragment.c

index fa3605294bf86916797c69f04c16c437d3503b79..94c7d33117bd6935017b10c638d6ae428a470000 100644 (file)
@@ -3905,12 +3905,8 @@ int config_parse_temporary_filesystems(
                         continue;
 
                 r = temporary_filesystem_add(&c->temporary_filesystems, &c->n_temporary_filesystems, resolved, w);
-                if (r == -ENOMEM)
+                if (r < 0)
                         return log_oom();
-                if (r < 0) {
-                        log_syntax(unit, LOG_ERR, filename, line, r, "Failed to parse mount options, ignoring: %s", word);
-                        continue;
-                }
         }
 }