From: Christopher Zimmermann Date: Sat, 11 Jun 2016 12:40:40 +0000 (+0200) Subject: Always use socket activation X-Git-Tag: 4.13~64^2~1 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=87e90229bc90ef700f9c7b123fca65d89fe7b0dc;p=i3%2Fi3 Always use socket activation it neither depends on systemd nor on any linuxism. --- 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) {