diff options
author | Jim Meyering <jim@meyering.net> | 2000-05-01 14:09:19 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2000-05-01 14:09:19 +0000 |
commit | 624dd54796656c89a82d359bebc42774f5e90549 (patch) | |
tree | 354b8633ec26e5b22eec2388047c997d8edd293f /src | |
parent | ef34c8704c99dbe54b0f7a7fabbc3d1c9ca9b16c (diff) | |
download | coreutils-624dd54796656c89a82d359bebc42774f5e90549.tar.xz |
(change_attributes): Don't remove the destination file upon failure.
Diffstat (limited to 'src')
-rw-r--r-- | src/install.c | 7 |
1 files changed, 0 insertions, 7 deletions
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; } |