chiark / gitweb /
conf-files: beef up conf-files.[ch] a bit
[elogind.git] / src / basic / exec-util.c
index e7b0e0fc0c9eb97e55c14f0ab749fe453895fce3..ad486db1af28daf2ecc788605ef877b0887c49cd 100644 (file)
@@ -89,7 +89,7 @@ static int do_execute(
          * If callbacks is nonnull, execution is serial. Otherwise, we default to parallel.
          */
 
-        r = conf_files_list_strv(&paths, NULL, NULL, CONF_FILES_EXECUTABLE, (const char* const*) directories);
+        r = conf_files_list_strv(&paths, NULL, NULL, CONF_FILES_EXECUTABLE|CONF_FILES_REGULAR|CONF_FILES_FILTER_MASKED, (const char* const*) directories);
         if (r < 0)
                 return r;