summaryrefslogtreecommitdiff
path: root/src/core/loopback-setup.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/loopback-setup.c')
-rw-r--r--src/core/loopback-setup.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/loopback-setup.c b/src/core/loopback-setup.c
index 0d7d00cfc0..ca10e20a34 100644
--- a/src/core/loopback-setup.c
+++ b/src/core/loopback-setup.c
@@ -63,15 +63,15 @@ static bool check_loopback(sd_rtnl *rtnl) {
r = sd_rtnl_message_new_link(rtnl, &req, RTM_GETLINK, LOOPBACK_IFINDEX);
if (r < 0)
- return r;
+ return false;
r = sd_rtnl_call(rtnl, req, 0, &reply);
if (r < 0)
- return r;
+ return false;
r = sd_rtnl_message_link_get_flags(reply, &flags);
if (r < 0)
- return r;
+ return false;
return flags & IFF_UP;
}