mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-20 22:23:27 +00:00
1ac5bff825
SVN-Revision: 25414
12 lines
271 B
Diff
12 lines
271 B
Diff
--- 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);
|
|
|