mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-03-08 20:58:20 +03:00
nss-resolve: return error properly
This commit is contained in:
parent
954cba660d
commit
c7c468c92a
@ -571,7 +571,7 @@ enum nss_status _nss_resolve_gethostbyaddr2_r(
|
||||
|
||||
r = sd_bus_message_rewind(reply, false);
|
||||
if (r < 0)
|
||||
return r;
|
||||
goto fail;
|
||||
|
||||
if (c <= 0)
|
||||
goto not_found;
|
||||
|
Loading…
x
Reference in New Issue
Block a user