system report: fix warning about checking result
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
737c5af2ee
commit
164f96a5a6
@ -162,7 +162,7 @@ fn get_command_output(exe: &str, args: &Vec<&str>) -> String {
|
|||||||
.trim_end()
|
.trim_end()
|
||||||
.to_string();
|
.to_string();
|
||||||
if !stderr.is_empty() {
|
if !stderr.is_empty() {
|
||||||
writeln!(out, "\n```\nSTDERR:\n```\n{stderr}");
|
let _ = writeln!(out, "\n```\nSTDERR:\n```\n{stderr}");
|
||||||
}
|
}
|
||||||
out
|
out
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user