# returns 2 on error, but maybe in that case we want to ignore, file the image away
# and then it can go away in a subsequent comparison. going with that for now.
diff=$(compare -metric MSE $lastf ziva-tmp.jpg /dev/null |& sed 's/[^0-9].*//') ||:
# returns 2 on error, but maybe in that case we want to ignore, file the image away
# and then it can go away in a subsequent comparison. going with that for now.
diff=$(compare -metric MSE $lastf ziva-tmp.jpg /dev/null |& sed 's/[^0-9].*//') ||: