Another libtar hardlink workaround

This commit is contained in:
Dees_Troy
2013-03-01 22:34:25 +00:00
parent 1148c99790
commit f96fb9794d
+2 -1
View File
@@ -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;