mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-22 07:03:38 +00:00
builder: add "[ignored]" to parsing errors for .conf files
Parsing sources .conf files is not a fatal error (that file would just be ignored), so explicitly state that such parsing errors are ignored. This should address the last bit in RHBZ#1077817.
This commit is contained in:
@@ -35,7 +35,7 @@ let parse_conf ~prog ~debug file =
|
||||
if debug then (
|
||||
eprintf (f_"%s: trying to read %s\n") prog file;
|
||||
);
|
||||
let sections = Ini_reader.read_ini ~prog file in
|
||||
let sections = Ini_reader.read_ini ~prog ~error_suffix:"[ignored]" file in
|
||||
|
||||
let sources = List.fold_right (
|
||||
fun (n, fields) acc ->
|
||||
|
||||
Reference in New Issue
Block a user