summaryrefslogtreecommitdiff
path: root/backupStatistics.in
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2016-10-22 19:24:33 +0200
committerErich Eckner <git@eckner.net>2016-10-22 19:24:33 +0200
commitf1cb876f859cb98f3debed302e24c25b09c4cbf5 (patch)
tree8a01138f41702821be60fc4c3d5dd07cafcf3d89 /backupStatistics.in
parent8574281527261206236f181408227c3ee50ca4a9 (diff)
downloadhardlinkedBackups-f1cb876f859cb98f3debed302e24c25b09c4cbf5.tar.xz
backupStatistics checks if files to hardlink differ
Diffstat (limited to 'backupStatistics.in')
-rw-r--r--backupStatistics.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/backupStatistics.in b/backupStatistics.in
index 01e752c..c68d071 100644
--- a/backupStatistics.in
+++ b/backupStatistics.in
@@ -103,6 +103,7 @@ do_stage()
grep "^${kopieInode} " "${cacheDir}/${backupID}.inodes.sorted" | \
sed 's|^\S\+ ||'
)"
+ diff "${original}" "${kopie}"
if ${dummy}
then
echo "rm \"${kopie}\""