From 624dd54796656c89a82d359bebc42774f5e90549 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Mon, 1 May 2000 14:09:19 +0000 Subject: (change_attributes): Don't remove the destination file upon failure. --- src/install.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src') diff --git a/src/install.c b/src/install.c index 20931f63b..b34909b76 100644 --- a/src/install.c +++ b/src/install.c @@ -517,13 +517,6 @@ change_attributes (const char *path) err = 1; } - if (err) - { - error (0, 0, "removing file: `%s'", path); - if (unlink (path)) - error (0, errno, "cannot remove `%s'", path); - } - return err; } -- cgit v1.2.3-70-g09d2