Iterate over all conf file parsers
[petitboot] / discover / kboot-parser.c
index 23d48a401f8a82cdff8daf4035f2769d4ccc6971..7c7cb5d0aa08f645c81ac12f0d441f44672c9ce5 100644 (file)
@@ -133,7 +133,7 @@ static int kboot_parse(struct discover_context *dc)
        conf = talloc_zero(dc, struct conf_context);
 
        if (!conf)
        conf = talloc_zero(dc, struct conf_context);
 
        if (!conf)
-               return -1;
+               return 0;
 
        conf->dc = dc;
        conf->global_options = kboot_global_options,
 
        conf->dc = dc;
        conf->global_options = kboot_global_options,