X-Git-Url: https://git.archive.openwrt.org/?p=openwrt.git;a=blobdiff_plain;f=package%2Fhotplug2%2Fpatches%2F170-non_fatal_include.patch;fp=package%2Fhotplug2%2Fpatches%2F170-non_fatal_include.patch;h=672746c6d2543da3a47ad502902c26c8237fe075;hp=0000000000000000000000000000000000000000;hb=c19308e08cf2fe51361e392e05874edf911dda5a;hpb=b6310b517c41da5ac5ab05681245cc64cb8597e4 diff --git a/package/hotplug2/patches/170-non_fatal_include.patch b/package/hotplug2/patches/170-non_fatal_include.patch new file mode 100644 index 0000000000..672746c6d2 --- /dev/null +++ b/package/hotplug2/patches/170-non_fatal_include.patch @@ -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); +