diff options
author | Tom Gundersen <teg@jklm.no> | 2015-06-17 20:04:17 +0200 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2015-06-17 20:04:17 +0200 |
commit | b3d4ef81f6aaac3df8d15ad0d2e3f78b74c00d28 (patch) | |
tree | 1c92123e040d4efc7abfda4fbb643fd4d0eef903 | |
parent | b0fc0763d38a0ad227c0f1d31662449696b13cf0 (diff) | |
parent | 144c348883a71ecc580ecf11967ceb9f304bd9da (diff) |
Merge pull request #267 from phomes/master
sd-dhcp-client: readd deleted error check
-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) |