summaryrefslogtreecommitdiff
path: root/src/initctl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/initctl.c')
-rw-r--r--src/initctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/initctl.c b/src/initctl.c
index 3de7fcd42e..a18cf384a4 100644
--- a/src/initctl.c
+++ b/src/initctl.c
@@ -290,7 +290,7 @@ static int server_init(Server *s, unsigned n_sockets) {
goto fail;
}
- f->fd = SD_LISTEN_FDS_START+i;
+ f->fd = fd;
LIST_PREPEND(Fifo, fifo, s->fifos, f);
f->server = s;
s->n_fifos ++;