Skip to content
Snippets Groups Projects
Commit 1ac5bff8 authored by Vasilis Tsiligiannis's avatar Vasilis Tsiligiannis
Browse files

hotplug2: Make missing include files non fatal

SVN-Revision: 25414
parent b549fce0
No related branches found
No related tags found
No related merge requests found
--- a/parser/parser.c
+++ b/parser/parser.c
@@ -578,7 +578,7 @@ int parser_file(const char *filename, st
ctx.lexer.fp = fopen(filename, "r");
if (ctx.lexer.fp == NULL) {
parser_clear(&ctx);
- return -1;
+ return 0;
}
ctx.lexer.filename = strdup(filename);
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment