* Use `log', not `$log'.
* Hash the correct file for the remote checksum.
* Log the correct remote hash.
set -e
case $dryrun in
nil)
set -e
case $dryrun in
nil)
- hrfs=$(hash_file "$fshashdir/$fs.bkp")
- $log "remote fshash $HASH checksum: $hlfs"
+ hrfs=$(hash_file "new.fshash")
+ log "remote fshash $HASH checksum: $hrfs"
case $dryrun in
nil)
hlfs=$(hash_file "$localmap")
case $dryrun in
nil)
hlfs=$(hash_file "$localmap")
- $log "local fshash $HASH checksum: $hlfs"
+ log "local fshash $HASH checksum: $hlfs"