summaryrefslogtreecommitdiffstats
path: root/src/tmpfiles/tmpfiles.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2017-09-12 16:57:33 +0200
committerLennart Poettering <lennart@poettering.net>2017-09-13 11:42:31 +0200
commitb50846055ee7e846697ea9f7fcf959bf0bfb8066 (patch)
treef499f446cea7437612a0edbfea1724e259b9c90d /src/tmpfiles/tmpfiles.c
parenthwdb: add Lenovo Yoga 510-14IKB sensor mount quirk (#6799) (diff)
downloadsystemd-b50846055ee7e846697ea9f7fcf959bf0bfb8066.tar.xz
systemd-b50846055ee7e846697ea9f7fcf959bf0bfb8066.zip
exec-util,conf-files: skip non-executable files in execute_directories()
Fixes: #6787
Diffstat (limited to 'src/tmpfiles/tmpfiles.c')
-rw-r--r--src/tmpfiles/tmpfiles.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tmpfiles/tmpfiles.c b/src/tmpfiles/tmpfiles.c
index 875a886bf3..3d3967f271 100644
--- a/src/tmpfiles/tmpfiles.c
+++ b/src/tmpfiles/tmpfiles.c
@@ -2300,7 +2300,7 @@ int main(int argc, char *argv[]) {
_cleanup_strv_free_ char **files = NULL;
char **f;
- r = conf_files_list_nulstr(&files, ".conf", arg_root, conf_file_dirs);
+ r = conf_files_list_nulstr(&files, ".conf", arg_root, 0, conf_file_dirs);
if (r < 0) {
log_error_errno(r, "Failed to enumerate tmpfiles.d files: %m");
goto finish;