only return error as part of the else loop when checking if we can be the master
only return error as part of the else loop when checking if we can be the master

GrimDerp/manatee,GrimDerp/manatee,AmlingPalantir/manatee,AmlingPalantir/manatee,joyent/manatee,josephglanville/manatee,joyent/manatee,josephglanville/manatee