summaryrefslogtreecommitdiffstats
path: root/libbb/copy_file.c
diff options
context:
space:
mode:
authorgraham.gower <graham.gower@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>2009-11-15 19:43:40 (EST)
committer graham.gower <graham.gower@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>2009-11-15 19:43:40 (EST)
commit68ee5deade297f659f8690511dd55757b457d9e1 (patch)
tree1372605a6f371e0054b4329b73056cdfc803e888 /libbb/copy_file.c
parent4b982619a3a275e7ee9d607c7e3eb9a348f8fe6b (diff)
Remove dead code.
git-svn-id: http://opkg.googlecode.com/svn/trunk@314 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
Diffstat (limited to 'libbb/copy_file.c')
-rw-r--r--libbb/copy_file.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/libbb/copy_file.c b/libbb/copy_file.c
index c79fbeb..fb76669 100644
--- a/libbb/copy_file.c
+++ b/libbb/copy_file.c
@@ -134,12 +134,6 @@ int copy_file(const char *source, const char *dest, int flags)
FILE *sfp, *dfp;
if (dest_exists) {
- if (flags & FILEUTILS_INTERACTIVE) {
- fprintf(stderr, "%s: overwrite `%s'? ", applet_name, dest);
- if (!ask_confirmation())
- return 0;
- }
-
if ((dfp = fopen(dest, "w")) == NULL) {
if (!(flags & FILEUTILS_FORCE)) {
perror_msg("unable to open `%s'", dest);