- ## If we failed to copy, then give up.
- case $rc_rsync:$rc_fshash in
- 0:0) ;;
- 0:*) return $rc_fshash ;;
- *) return $rc_rsync ;;
- esac
+ ## If we failed to copy, then give up.
+ case $rc_rsync:$rc_fshash in
+ 0:0) ;;
+ 0:*) return $rc_fshash ;;
+ *) return $rc_rsync ;;
+ esac
+
+ ## Get a matching map of the files received.
+ mkdir -m750 -p $STOREDIR/tmp
+ localmap=$STOREDIR/tmp/fshash.$host.$fs.$date
+ $verbose -n " local fshash..."
+ run "local fshash $host:$fs" local_fshash || return $?
+ $verbose " done"