chiark / gitweb /
Compiling.
[elogind.git] / src / core / service.c
index d9385504e8af7e65106e7192317f1f83cfa5ef77..beaf21340f299e77cee3a50fbd145cc53c798e6b 100644 (file)
@@ -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) {