chiark / gitweb /
Introduce _cleanup_endmntent_
[elogind.git] / src / binfmt / binfmt.c
index 9ca1e604c498aa095fda3200d41af79c8f90406c..5a42b3dbef769b9561b09ef8a5be52b19095fb81 100644 (file)
@@ -110,7 +110,7 @@ static int apply_file(const char *path, bool ignore_enoent) {
                 p = strstrip(l);
                 if (!*p)
                         continue;
-                if (strchr(COMMENTS, *p))
+                if (strchr(COMMENTS "\n", *p))
                         continue;
 
                 k = apply_rule(p);