Always use socket activation
it neither depends on systemd nor on any linuxism.
This commit is contained in:
parent
fa12f67870
commit
87e90229bc
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue