From: Jim Meyering Date: Sat, 23 Jan 1999 18:33:11 +0000 (+0000) Subject: (wipename): Print the `FILE: deleted' message only when in verbose mode. X-Git-Tag: TEXTUTILS-1_22h~125 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e21cf52e0386d20494d71764ab9fc51f459054d7;p=thirdparty%2Fcoreutils.git (wipename): Print the `FILE: deleted' message only when in verbose mode. --- diff --git a/src/shred.c b/src/shred.c index f5277268ae..996eb88090 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); }