[systemd-commits] src/bus-proxyd
Daniel Mack
zonque at kemper.freedesktop.org
Thu Oct 9 06:41:48 PDT 2014
src/bus-proxyd/bus-proxyd.c | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
New commits:
commit 7ff3bb4e47fe287997ba24a3b3ae719bd9043d74
Author: Daniel Mack <daniel at zonque.org>
Date: Thu Oct 9 15:40:17 2014 +0200
bus-proxy: allow getpeersec() to fail
getpeersec() will fail for non-SELinux enabled machines, so don't make that
a hard error.
diff --git a/src/bus-proxyd/bus-proxyd.c b/src/bus-proxyd/bus-proxyd.c
index ce571fa..4f44825 100644
--- a/src/bus-proxyd/bus-proxyd.c
+++ b/src/bus-proxyd/bus-proxyd.c
@@ -1152,11 +1152,7 @@ int main(int argc, char *argv[]) {
goto finish;
}
- r = getpeersec(in_fd, &peersec);
- if (r < 0) {
- log_error("Failed to get security creds: %s", strerror(-r));
- goto finish;
- }
+ (void) getpeersec(in_fd, &peersec);
}
if (arg_drop_privileges) {
More information about the systemd-commits
mailing list