summaryrefslogtreecommitdiff
path: root/src/network/sd-network.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/network/sd-network.c')
-rw-r--r--src/network/sd-network.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/sd-network.c b/src/network/sd-network.c
index 317d087b98..1b7518fd94 100644
--- a/src/network/sd-network.c
+++ b/src/network/sd-network.c
@@ -235,7 +235,7 @@ static int network_get_boolean(const char *key, unsigned index) {
if (r < 0)
return r;
else if (!s)
- return -EIO;
+ return false;
return parse_boolean(s);
}