1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-10-19 05:58:53 +02:00

hotplug2: Make missing include files non fatal

SVN-Revision: 25414
This commit is contained in:
Vasilis Tsiligiannis 2011-02-07 22:28:04 +00:00
parent b549fce06b
commit 1ac5bff825

@ -0,0 +1,11 @@
--- 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);