1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-08-24 22:28:04 +03:00
openwrt-xburst/package/hotplug2/patches/170-non_fatal_include.patch

12 lines
271 B
Diff
Raw Normal View History

--- 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);