Check exit code in rstcheck.