chiark / gitweb /
chiark-backup's snaprsync sedderies mountpoint out before sums diff.
[chiark-utils.git] / backup / snaprsync
index 5cd567a..780c68e 100755 (executable)
@@ -126,7 +126,8 @@ xwait $lsum
 date -u "+ $datefmt checking"
 
 set +e
-diff -u "$localarea,rsums" "$localarea,lsums" >"$localarea,sumsdiff"
+diff -u <(sed -e 's/^mountpoint/dir       /' "$localarea,rsums") \
+  "$localarea,lsums" >"$localarea,sumsdiff"
 diffrc=$?
 set -e
 test $diffrc = 0 || test $diffrc = 1