summaryrefslogtreecommitdiffstats
path: root/libtar/extract.c
diff options
context:
space:
mode:
authorDees_Troy <dees_troy@teamw.in>2013-03-04 21:51:51 +0100
committerGerrit Code Review <gerrit@5.9.244.119>2013-03-04 21:51:51 +0100
commit6c917b4b91ad258624e638fe25403791f2b68c08 (patch)
tree76847dc9fbb08291db0c8abefcb180f7c1e9ac25 /libtar/extract.c
parentMore file selector fixes (diff)
parentAnother libtar hardlink workaround (diff)
downloadandroid_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 'libtar/extract.c')
-rw-r--r--libtar/extract.c3
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;