diff options
author | Dees_Troy <dees_troy@teamw.in> | 2013-03-04 21:51:51 +0100 |
---|---|---|
committer | Gerrit Code Review <gerrit@5.9.244.119> | 2013-03-04 21:51:51 +0100 |
commit | 6c917b4b91ad258624e638fe25403791f2b68c08 (patch) | |
tree | 76847dc9fbb08291db0c8abefcb180f7c1e9ac25 /libtar/extract.c | |
parent | More file selector fixes (diff) | |
parent | Another libtar hardlink workaround (diff) | |
download | android_bootable_recovery-6c917b4b91ad258624e638fe25403791f2b68c08.tar android_bootable_recovery-6c917b4b91ad258624e638fe25403791f2b68c08.tar.gz android_bootable_recovery-6c917b4b91ad258624e638fe25403791f2b68c08.tar.bz2 android_bootable_recovery-6c917b4b91ad258624e638fe25403791f2b68c08.tar.lz android_bootable_recovery-6c917b4b91ad258624e638fe25403791f2b68c08.tar.xz android_bootable_recovery-6c917b4b91ad258624e638fe25403791f2b68c08.tar.zst android_bootable_recovery-6c917b4b91ad258624e638fe25403791f2b68c08.zip |
Diffstat (limited to '')
-rw-r--r-- | libtar/extract.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libtar/extract.c b/libtar/extract.c index 620513c29..49e7599e8 100644 --- a/libtar/extract.c +++ b/libtar/extract.c @@ -335,7 +335,8 @@ tar_extract_hardlink(TAR * t, char *realname, char *prefix) #ifdef DEBUG perror("link()"); #endif - return -1; + printf("Failed restore of hardlink '%s' but returning as if nothing bad happened anyway\n", filename); + return 0; // Used to be -1 } return 0; |