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:
e21cf52
)
(wipename): Print the `FILE: deleting' message only when in verbose mode.
author
Jim Meyering
<jim@meyering.net>
Sat, 23 Jan 1999 18:55:34 +0000
(18:55 +0000)
committer
Jim Meyering
<jim@meyering.net>
Sat, 23 Jan 1999 18:55:34 +0000
(18:55 +0000)
src/shred.c
patch
|
blob
|
history
diff --git
a/src/shred.c
b/src/shred.c
index
996eb88
..
c9d1ebf
100644
(file)
--- 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)