1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2026-01-19 19:51:09 +00:00

shred: remove unwanted padding in verbose messages

This is tested for in the GNU shred-passes test, so we don't have a
choice if we want to stay compatible.
This commit is contained in:
Ben Wiederhake 2025-04-20 18:28:23 +02:00
parent f92ee6a519
commit af7a939b62
2 changed files with 23 additions and 1 deletions

View file

@ -484,7 +484,7 @@ fn wipe_file(
if verbose {
let pass_name = pass_name(&pass_type);
show_error!(
"{}: pass {:2}/{total_passes} ({pass_name})...",
"{}: pass {}/{total_passes} ({pass_name})...",
path.maybe_quote(),
i + 1,
);