oops, forgot this.

sorry, I left a bug in the previous pull request - this would never cb if the directory was empty.
I had a line in there that was intended to cb, but it was incorrect.