Print correct total for -c option (previously, the total for the last
directory scanned was printed instead of the real total) PR: bin/7896 Submitted by: Zach Heilig <zach@gaffaneys.com>
This commit is contained in:
parent
00e500a2e5
commit
e06cf7dbca
@ -214,7 +214,7 @@ main(argc, argv)
|
||||
|
||||
p->fts_parent->fts_number += p->fts_statp->st_blocks;
|
||||
}
|
||||
savednumber = p->fts_number;
|
||||
savednumber = p->fts_parent->fts_number;
|
||||
}
|
||||
|
||||
if (errno)
|
||||
|
Loading…
x
Reference in New Issue
Block a user