about summary refs log tree commit diff
path: root/src/config
diff options
context:
space:
mode:
Diffstat (limited to 'src/config')
-rw-r--r--src/config/s6-frontend-config-preprocess.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config/s6-frontend-config-preprocess.c b/src/config/s6-frontend-config-preprocess.c
index d66eb7a..038b83a 100644
--- a/src/config/s6-frontend-config-preprocess.c
+++ b/src/config/s6-frontend-config-preprocess.c
@@ -208,7 +208,7 @@ static int includefromhere (char const *file, int once)
       }
       if (what & 0x0080)
       {
-        int fdhere = open2(".", O_RDONLY | O_DIRECTORY) ;
+        int fdhere = open2(".", O_RDONLY) ;
         if (fdhere < 0)
           strerr_dief3sys(111, "in ", sa.s + sabase, ": unable to open base directory: ") ;
         if (!stralloc_0(&localsa)) dienomem() ;