From 1b0f03e1da5cb38d9ccfb2456a2bda580dd08c8a Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 23 Jan 1999 18:55:34 +0000 Subject: [PATCH] (wipename): Print the `FILE: deleting' message only when in verbose mode. --- src/shred.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/shred.c b/src/shred.c index 996eb88090..c9d1ebf04c 100644 --- a/src/shred.c +++ b/src/shred.c @@ -1151,7 +1151,8 @@ wipename (char *oldname, struct Options const *flags) int err; int dirfd; /* Try to open directory to sync *it* */ - pfstatus (_("%s: deleting"), oldname); + if (flags->verbose) + pfstatus (_("%s: deleting"), oldname); newname = strdup (oldname); /* This is a malloc */ if (!newname) -- 2.47.3