diff options
author | Jim Meyering <jim@meyering.net> | 1999-01-23 18:55:34 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1999-01-23 18:55:34 +0000 |
commit | 1b0f03e1da5cb38d9ccfb2456a2bda580dd08c8a (patch) | |
tree | c35e296b9299ed92137b67e3978f204989f5f030 /src | |
parent | e21cf52e0386d20494d71764ab9fc51f459054d7 (diff) | |
download | coreutils-1b0f03e1da5cb38d9ccfb2456a2bda580dd08c8a.tar.xz |
(wipename): Print the `FILE: deleting' message only when in verbose mode.
Diffstat (limited to 'src')
-rw-r--r-- | src/shred.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/shred.c b/src/shred.c index 996eb8809..c9d1ebf04 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) |