aboutsummaryrefslogtreecommitdiffstats
path: root/package/hotplug2/patches/170-non_fatal_include.patch
blob: 672746c6d2543da3a47ad502902c26c8237fe075 (plain)
1
2
3
4
5
6
7
8
9
10
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);