diff --git a/libimagrt/src/configuration.rs b/libimagrt/src/configuration.rs index a7a2e48d..f35b8087 100644 --- a/libimagrt/src/configuration.rs +++ b/libimagrt/src/configuration.rs @@ -235,7 +235,7 @@ fn fetch_config(rtp: &PathBuf) -> Result { if f.is_err() { } let mut f = f.unwrap(); - f.read_to_string(&mut s); + f.read_to_string(&mut s).ok(); s }; Parser::new(&content[..]).parse()