summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/shred.c2
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);
}