diff options
author | Jim Meyering <jim@meyering.net> | 1999-01-23 18:33:11 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1999-01-23 18:33:11 +0000 |
commit | e21cf52e0386d20494d71764ab9fc51f459054d7 (patch) | |
tree | d14d1d7cda4a71989235d9b2a064324cecf48a5f /src | |
parent | 4ab3a8a3451a75185dd83dd94849963d1a98ba6d (diff) | |
download | coreutils-e21cf52e0386d20494d71764ab9fc51f459054d7.tar.xz |
(wipename): Print the `FILE: deleted' message only when in verbose mode.
Diffstat (limited to 'src')
-rw-r--r-- | src/shred.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shred.c b/src/shred.c index f5277268a..996eb8809 100644 --- a/src/shred.c +++ b/src/shred.c @@ -1217,7 +1217,7 @@ wipename (char *oldname, struct Options const *flags) close (dirfd); if (origname) { - if (!err) + if (!err && flags->verbose) pfstatus (_("%s: deleted"), origname); free (origname); } |