Return 0 when there is nothing to do.

Before it was returning 1, which is wrong because it's not an error when there is no work to be done.