Allow the Android plugin to load even if the control socket is not available.
This commit is contained in:
parent
439cb93ce9
commit
6c974a4fe3
|
@ -101,11 +101,6 @@ plugin_t *android_plugin_create()
|
||||||
hydra->attributes->add_handler(hydra->attributes, &this->handler->handler);
|
hydra->attributes->add_handler(hydra->attributes, &this->handler->handler);
|
||||||
|
|
||||||
this->service = android_service_create(this->creds);
|
this->service = android_service_create(this->creds);
|
||||||
if (!this->service)
|
|
||||||
{
|
|
||||||
destroy(this);
|
|
||||||
return NULL;
|
|
||||||
}
|
|
||||||
|
|
||||||
return &this->public.plugin;
|
return &this->public.plugin;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue