diff --git a/src/resolve/resolvectl.c b/src/resolve/resolvectl.c index f56ee00c22..13f70e3b1c 100644 --- a/src/resolve/resolvectl.c +++ b/src/resolve/resolvectl.c @@ -1850,7 +1850,6 @@ static int status_json_filter_links(sd_json_variant **configuration, char **link if (links) STRV_FOREACH(ifname, links) { int ifindex = rtnl_resolve_interface_or_warn(/* rtnl= */ NULL, *ifname); - if (ifindex < 0) return ifindex;