commit | 6c917b4b91ad258624e638fe25403791f2b68c08 | [log] [tgz] |
---|---|---|
author | Dees_Troy <dees_troy@teamw.in> | Mon Mar 04 14:51:51 2013 -0600 |
committer | Gerrit Code Review <gerrit@5.9.244.119> | Mon Mar 04 14:51:51 2013 -0600 |
tree | 76847dc9fbb08291db0c8abefcb180f7c1e9ac25 | |
parent | 4622cf9f5241ff9a9b77f6117576bfabf9074183 [diff] | |
parent | f96fb9794d84b6b3ca3454f52a73df837cc82002 [diff] |
Merge "Another libtar hardlink workaround" into twrp2.4
diff --git a/libtar/extract.c b/libtar/extract.c index 620513c..49e7599 100644 --- a/libtar/extract.c +++ b/libtar/extract.c
@@ -335,7 +335,8 @@ #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;