summaryrefslogtreecommitdiff
path: root/src/core/service.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/service.c')
-rw-r--r--src/core/service.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/service.c b/src/core/service.c
index d9385504e8..beaf21340f 100644
--- a/src/core/service.c
+++ b/src/core/service.c
@@ -347,7 +347,7 @@ static int service_add_fd_store(Service *s, int fd) {
return 0;
LIST_FOREACH(fd_store, fs, s->fd_store) {
- r = same_fd(fs->fd, fd);
+ r = -EINVAL;
if (r < 0)
return r;
if (r > 0) {