fix a small bug that could stop the check link process.
Merge pull request #1181 from andizzle/checklink_bugfix

fix a small bug that could stop the check link process.