mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 20:37:34 +00:00
dd: Make status=noxfer
still print some statistics
This commit is contained in:
parent
2f6c99dce5
commit
4020892945
1 changed files with 4 additions and 2 deletions
|
@ -47,11 +47,13 @@ struct {
|
||||||
|
|
||||||
static void closing_statistics()
|
static void closing_statistics()
|
||||||
{
|
{
|
||||||
if (statistics.status != Default)
|
if (statistics.status == None)
|
||||||
return;
|
return;
|
||||||
warnln("{}+{} blocks in", statistics.total_blocks_in, statistics.partial_blocks_in);
|
warnln("{}+{} blocks in", statistics.total_blocks_in, statistics.partial_blocks_in);
|
||||||
warnln("{}+{} blocks out", statistics.total_blocks_out, statistics.partial_blocks_out);
|
warnln("{}+{} blocks out", statistics.total_blocks_out, statistics.partial_blocks_out);
|
||||||
warnln("{} bytes copied.", statistics.total_bytes_copied);
|
if (statistics.status != Noxfer) {
|
||||||
|
warnln("{} bytes copied.", statistics.total_bytes_copied);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static StringView split_at_equals(StringView argument)
|
static StringView split_at_equals(StringView argument)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue