diff options
-rw-r--r-- | src/bsnmp-regex.c | 2 |
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; |