summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/ctx.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ctx.cpp b/src/ctx.cpp
index 063f96c..abe3bb4 100644
--- a/src/ctx.cpp
+++ b/src/ctx.cpp
@@ -136,7 +136,7 @@ next:
path += "/lib/xs/plugins";
DIR *dp = opendir (path.c_str ());
- if (!dp && errno == ENOENT)
+ if (!dp && (errno == ENOENT || errno == EACCES || errno == ENOTDIR))
return;
errno_assert (dp);