dd returns a clear completion code even when it encounters an error. I had reason to hack a simple alterntive, but there are probably better ways to go about it. And there may be other places deserving attention.