1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-08 11:27:32 +03:00

sd-dhcp-client: readd deleted error check

Seems to have been removed by mistake in:
9021bb9f93
This commit is contained in:
Thomas Hindoe Paaboel Andersen 2015-06-17 18:09:31 +02:00
parent 79b04ad7d4
commit 144c348883

View File

@ -928,6 +928,8 @@ static int client_initialize_time_events(sd_dhcp_client *client) {
r = sd_event_source_set_priority(client->timeout_resend, r = sd_event_source_set_priority(client->timeout_resend,
client->event_priority); client->event_priority);
if (r < 0)
goto error;
r = sd_event_source_set_description(client->timeout_resend, "dhcp4-resend-timer"); r = sd_event_source_set_description(client->timeout_resend, "dhcp4-resend-timer");
if (r < 0) if (r < 0)