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,12 +47,14 @@ struct {
|
|||
|
||||
static void closing_statistics()
|
||||
{
|
||||
if (statistics.status != Default)
|
||||
if (statistics.status == None)
|
||||
return;
|
||||
warnln("{}+{} blocks in", statistics.total_blocks_in, statistics.partial_blocks_in);
|
||||
warnln("{}+{} blocks out", statistics.total_blocks_out, statistics.partial_blocks_out);
|
||||
if (statistics.status != Noxfer) {
|
||||
warnln("{} bytes copied.", statistics.total_bytes_copied);
|
||||
}
|
||||
}
|
||||
|
||||
static StringView split_at_equals(StringView argument)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue