diff options
author | Thomas Hindoe Paaboel Andersen <phomes@gmail.com> | 2015-06-17 18:09:31 +0200 |
---|---|---|
committer | Thomas Hindoe Paaboel Andersen <phomes@gmail.com> | 2015-06-17 19:11:18 +0200 |
commit | 144c348883a71ecc580ecf11967ceb9f304bd9da (patch) | |
tree | 3c28a41db4cfaaf388215f78b60e88f0afb8cc97 /src/libsystemd-network | |
parent | 79b04ad7d40b128ac161d8773efd6860e3730863 (diff) |
sd-dhcp-client: readd deleted error check
Seems to have been removed by mistake in:
9021bb9f935c93b516b10c88db2a212a9e3a8140
Diffstat (limited to 'src/libsystemd-network')
-rw-r--r-- | src/libsystemd-network/sd-dhcp-client.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libsystemd-network/sd-dhcp-client.c b/src/libsystemd-network/sd-dhcp-client.c index 6853038b67..6a0d270739 100644 --- a/src/libsystemd-network/sd-dhcp-client.c +++ b/src/libsystemd-network/sd-dhcp-client.c @@ -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) |