report: fix grammar error
Signed-off-by: Oguz Bektas <o.bektas@proxmox.com>
This commit is contained in:
parent
0a274ab0a0
commit
94ffca10a2
|
@ -54,7 +54,7 @@ pub fn generate_report() -> String {
|
||||||
.map(|file_name| {
|
.map(|file_name| {
|
||||||
let content = match file_read_optional_string(Path::new(file_name)) {
|
let content = match file_read_optional_string(Path::new(file_name)) {
|
||||||
Ok(Some(content)) => content,
|
Ok(Some(content)) => content,
|
||||||
Ok(None) => String::from("# file does not exists"),
|
Ok(None) => String::from("# file does not exist"),
|
||||||
Err(err) => err.to_string(),
|
Err(err) => err.to_string(),
|
||||||
};
|
};
|
||||||
format!("# cat '{}'\n{}", file_name, content)
|
format!("# cat '{}'\n{}", file_name, content)
|
||||||
|
|
Loading…
Reference in New Issue