summaryrefslogtreecommitdiff
path: root/src/bsnmp-regex.c
diff options
context:
space:
mode:
authorStef Walter <stef@memberwebs.com>2006-03-11 20:42:18 +0000
committerStef Walter <stef@memberwebs.com>2006-03-11 20:42:18 +0000
commit26d89e90d1a253c70b411289b0f049e38344c7f6 (patch)
treeb358fc6a07df2f30e7e51371469ef12186cc153d /src/bsnmp-regex.c
parentcb091770076f9b92d8df5a7589505f6bf64341b9 (diff)
Don't block on open.
Diffstat (limited to 'src/bsnmp-regex.c')
-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;