diff options
-rw-r--r-- | src/xz/file_io.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/xz/file_io.c b/src/xz/file_io.c index be5db73d..ca42bed9 100644 --- a/src/xz/file_io.c +++ b/src/xz/file_io.c @@ -524,14 +524,7 @@ io_open_dest(file_pair *pair) // If --force was used, unlink the target file first. if (opt_force && unlink(pair->dest_name) && errno != ENOENT) { - message_error("%s: Cannot unlink: %s", - pair->dest_name, strerror(errno)); - free(pair->dest_name); - return true; - } - - if (opt_force && unlink(pair->dest_name) && errno != ENOENT) { - message_error("%s: Cannot unlink: %s", + message_error(_("%s: Cannot remove: %s"), pair->dest_name, strerror(errno)); free(pair->dest_name); return true; |