1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-04-11 14:44:18 +02:00

(wipename): Print the `FILE: deleting' message only when in verbose mode.

This commit is contained in:
Jim Meyering
1999-01-23 18:55:34 +00:00
parent e21cf52e03
commit 1b0f03e1da

View File

@@ -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)