summaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs
index a8e33b2..5ab99e9 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -48,6 +48,7 @@ fn main() {
.split(':')
.enumerate()
.filter(|(_, name)| *name == "varlink")
+ .take(1)
.for_each(|(i, _)| {
accept_con(&service, unsafe { UnixStream::from_raw_fd(3 + i as i32) })
});