projects
/
platform
/
upstream
/
coreutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ab3a8a
)
(wipename): Print the `FILE: deleted' message only when in verbose mode.
author
Jim Meyering
<jim@meyering.net>
Sat, 23 Jan 1999 18:33:11 +0000
(18:33 +0000)
committer
Jim Meyering
<jim@meyering.net>
Sat, 23 Jan 1999 18:33:11 +0000
(18:33 +0000)
src/shred.c
patch
|
blob
|
history
diff --git
a/src/shred.c
b/src/shred.c
index
f527726
..
996eb88
100644
(file)
--- 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);
}