[systemd-commits] 2 commits - src/network src/sysv-generator

Thomas H.P. Andersen phomes at kemper.freedesktop.org
Fri Jun 13 14:01:57 PDT 2014


 src/network/networkd-link.c         |    2 ++
 src/sysv-generator/sysv-generator.c |    2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

New commits:
commit efdc73dae3e5d92b817e2418a0af6c43dfba877c
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date:   Fri Jun 13 22:00:55 2014 +0200

    networkd: link - check returned value from set_lease_pool

diff --git a/src/network/networkd-link.c b/src/network/networkd-link.c
index 81872f7..baa0756 100644
--- a/src/network/networkd-link.c
+++ b/src/network/networkd-link.c
@@ -1723,6 +1723,8 @@ static int link_configure(Link *link) {
                         pool_start.s_addr = htobe32(be32toh(address->in_addr.in.s_addr) + 1);
                         r = sd_dhcp_server_set_lease_pool(link->dhcp_server,
                                                           &pool_start, 32);
+                        if (r < 0)
+                                return r;
 
                         break;
                 }

commit 855d111304114e922b34b6c4bc2a0b08766c2668
Author: Colin Ian King <colin.king at canonical.com>
Date:   Thu Jun 12 16:41:41 2014 +0100

    Fix spelling mistake, scirpt --> script

diff --git a/src/sysv-generator/sysv-generator.c b/src/sysv-generator/sysv-generator.c
index 0b8d8f7..18dae5c 100644
--- a/src/sysv-generator/sysv-generator.c
+++ b/src/sysv-generator/sysv-generator.c
@@ -791,7 +791,7 @@ static int set_dependencies_from_rcnd(LookupPaths lp, Hashmap *all_services) {
                                 if (hashmap_contains(all_services, name))
                                         service = hashmap_get(all_services, name);
                                 else {
-                                        log_warning("Could not find init scirpt for %s", name);
+                                        log_warning("Could not find init script for %s", name);
                                         continue;
                                 }
 



More information about the systemd-commits mailing list