diff options
Diffstat (limited to 'src/bus-proxyd/bus-proxyd.c')
-rw-r--r-- | src/bus-proxyd/bus-proxyd.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/bus-proxyd/bus-proxyd.c b/src/bus-proxyd/bus-proxyd.c index 11d0e289cf..8c1b6a5ad6 100644 --- a/src/bus-proxyd/bus-proxyd.c +++ b/src/bus-proxyd/bus-proxyd.c @@ -1166,12 +1166,7 @@ int main(int argc, char *argv[]) { sd_is_socket(out_fd, AF_UNIX, 0, 0) > 0; if (is_unix) { - r = getpeercred(in_fd, &ucred); - if (r < 0) { - log_error("Failed to get peer creds: %s", strerror(-r)); - goto finish; - } - + (void) getpeercred(in_fd, &ucred); (void) getpeersec(in_fd, &peersec); } |