Return an error code if setup-dev fails