From 87e90229bc90ef700f9c7b123fca65d89fe7b0dc Mon Sep 17 00:00:00 2001 From: Christopher Zimmermann Date: Sat, 11 Jun 2016 14:40:40 +0200 Subject: [PATCH] Always use socket activation it neither depends on systemd nor on any linuxism. --- src/sd-daemon.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/sd-daemon.c b/src/sd-daemon.c index f0b5ca05..dc33b2e9 100644 --- a/src/sd-daemon.c +++ b/src/sd-daemon.c @@ -45,9 +45,6 @@ #include "sd-daemon.h" int sd_listen_fds(int unset_environment) { -#if defined(DISABLE_SYSTEMD) || !defined(__linux__) - return 0; -#else int r, fd; const char *e; char *p = NULL; @@ -121,7 +118,6 @@ finish: } return r; -#endif } int sd_is_fifo(int fd, const char *path) { -- 2.39.5