summaryrefslogtreecommitdiff
path: root/src/copy.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2004-07-27 23:13:38 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2004-07-27 23:13:38 +0000
commitc3d37adf6de1791e9e6c46ddd31b31cf24e0ffc2 (patch)
tree245026a6167d49237b63d77991fcc79ce50050d7 /src/copy.c
parent967a08d5208dcbe7abb9e73ce10e5388f17282f8 (diff)
downloadcoreutils-c3d37adf6de1791e9e6c46ddd31b31cf24e0ffc2.tar.xz
(copy_internal): find_backup_file_name no longer
returns NULL, so don't bother to check for this.
Diffstat (limited to 'src/copy.c')
-rw-r--r--src/copy.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/copy.c b/src/copy.c
index ef941cc25..bca2de27b 100644
--- a/src/copy.c
+++ b/src/copy.c
@@ -1033,8 +1033,6 @@ copy_internal (const char *src_path, const char *dst_path,
{
char *tmp_backup = find_backup_file_name (dst_path,
x->backup_type);
- if (tmp_backup == NULL)
- xalloc_die ();
/* Detect (and fail) when creating the backup file would
destroy the source file. Before, running the commands