Fixed returned error code. (#60)