summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;