commit | f96fb9794d84b6b3ca3454f52a73df837cc82002 | [log] [tgz] |
---|---|---|
author | Dees_Troy <dees_troy@teamw.in> | Fri Mar 01 22:34:25 2013 +0000 |
committer | Dees_Troy <dees_troy@teamw.in> | Fri Mar 01 22:34:25 2013 +0000 |
tree | e30a74be811fd83cd0260cc2bbf3d3673b2b2afb | |
parent | 1148c997905eeff67d140a003f43cc571af04a50 [diff] |
Another libtar hardlink workaround
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;