Returning an error when there are no connectors results in
weston terminating after that. That's not expected when
trying to get weston to start with zero drm outputs.
Signed-off-by: Armin Krezović <krezovic.armin@gmail.com>
Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
drmModeFreeConnector(connector);
}
- if (wl_list_empty(&b->compositor->output_list)) {
+ if (wl_list_empty(&b->compositor->output_list))
weston_log("No currently active connector found.\n");
- drmModeFreeResources(resources);
- return -1;
- }
drmModeFreeResources(resources);