sd-dhcp-client: readd deleted error check
Seems to have been removed by mistake in:
9021bb9f93
This commit is contained in:
parent
79b04ad7d4
commit
144c348883
|
@ -928,6 +928,8 @@ static int client_initialize_time_events(sd_dhcp_client *client) {
|
|||
|
||||
r = sd_event_source_set_priority(client->timeout_resend,
|
||||
client->event_priority);
|
||||
if (r < 0)
|
||||
goto error;
|
||||
|
||||
r = sd_event_source_set_description(client->timeout_resend, "dhcp4-resend-timer");
|
||||
if (r < 0)
|
||||
|
|
Loading…
Reference in a new issue