summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2015-02-20 19:23:00 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2015-02-20 19:23:00 +0000
commit8e9f867b60fa7554655c1eb3f59a4aeffe7ea66f (patch)
tree9ecfb0c184f664ee511741358bbaf77ddbea39ad /src
parent8a1e966acaff5b489b1b3e70030d72279c09eaef (diff)
downloads6-8e9f867b60fa7554655c1eb3f59a4aeffe7ea66f.tar.gz
s6-8e9f867b60fa7554655c1eb3f59a4aeffe7ea66f.tar.xz
s6-8e9f867b60fa7554655c1eb3f59a4aeffe7ea66f.zip
s6-fdholderd bugfix: defaultre rre, not wre when !rre_done
Diffstat (limited to 'src')
-rw-r--r--src/fdholder/s6-fdholderd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fdholder/s6-fdholderd.c b/src/fdholder/s6-fdholderd.c
index b5e80ec..c3549b4 100644
--- a/src/fdholder/s6-fdholderd.c
+++ b/src/fdholder/s6-fdholderd.c
@@ -573,7 +573,7 @@ static inline int parse_env (char const *const *envp, regex_t *rre, regex_t *wre
       }
     }
   }
-  if (!rre_done) defaultre(wre) ;
+  if (!rre_done) defaultre(rre) ;
   if (!wre_done) defaultre(wre) ;
   *flags = fl ;
   return 1 ;