Exiting on error should return -1

This is the expected behavior for any cli application exiting in error - this will also match the behavior of gofmt.