summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/bsnmp-regex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bsnmp-regex.c b/src/bsnmp-regex.c
index cf06114..4792d77 100644
--- a/src/bsnmp-regex.c
+++ b/src/bsnmp-regex.c
@@ -477,7 +477,7 @@ open_fifo ()
return -1;
}
- fifo_fd = open (regex_fifo, O_RDONLY);
+ fifo_fd = open (regex_fifo, O_RDONLY | O_NONBLOCK);
if (fifo_fd < 0) {
emsg ("couldn't open fifo: %s: %s", regex_fifo, strerror (errno));
return -1;