chiark / gitweb /
networkd: fix reporting errors from hostnamed
authorMichael Marineau <michael.marineau@coreos.com>
Mon, 21 Jul 2014 23:23:42 +0000 (16:23 -0700)
committerTom Gundersen <teg@jklm.no>
Tue, 29 Jul 2014 20:24:58 +0000 (22:24 +0200)
commit70b34f5de86809991d6753ba486b88481ceab817
treef2606924a7c75f1fde9f756684836d4619945a02
parentea917db9e662ae6e6d0ae07e0118b323688c8616
networkd: fix reporting errors from hostnamed

The return value may be -EINVAL or a positive errno from the dbus
message. Check both ranges, otherwise most errors are silently ignored.
src/network/networkd-link.c