summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDees_Troy <dees_troy@teamw.in>2013-03-01 23:34:25 +0100
committerDees_Troy <dees_troy@teamw.in>2013-03-01 23:34:25 +0100
commitf96fb9794d84b6b3ca3454f52a73df837cc82002 (patch)
treee30a74be811fd83cd0260cc2bbf3d3673b2b2afb
parentChange version to 2.4.3.0 (diff)
downloadandroid_bootable_recovery-f96fb9794d84b6b3ca3454f52a73df837cc82002.tar
android_bootable_recovery-f96fb9794d84b6b3ca3454f52a73df837cc82002.tar.gz
android_bootable_recovery-f96fb9794d84b6b3ca3454f52a73df837cc82002.tar.bz2
android_bootable_recovery-f96fb9794d84b6b3ca3454f52a73df837cc82002.tar.lz
android_bootable_recovery-f96fb9794d84b6b3ca3454f52a73df837cc82002.tar.xz
android_bootable_recovery-f96fb9794d84b6b3ca3454f52a73df837cc82002.tar.zst
android_bootable_recovery-f96fb9794d84b6b3ca3454f52a73df837cc82002.zip
Diffstat (limited to '')
-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;