Change exit code from 2 to 0.

This is necessary to build the documentation on Travis-CI. Exit code 2 results in a failure.