X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fbinfmt%2Fbinfmt.c;h=5a42b3dbef769b9561b09ef8a5be52b19095fb81;hp=9ca1e604c498aa095fda3200d41af79c8f90406c;hb=68313d3dfa2082dae8a06643d639e0200afc19fc;hpb=574d5f2dfc25226afc718aa5ba1a145fe5cad221 diff --git a/src/binfmt/binfmt.c b/src/binfmt/binfmt.c index 9ca1e604c..5a42b3dbe 100644 --- a/src/binfmt/binfmt.c +++ b/src/binfmt/binfmt.c @@ -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);