diff options
author | Lennart Poettering <lennart@poettering.net> | 2017-09-12 16:57:33 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2017-09-13 11:42:31 +0200 |
commit | b50846055ee7e846697ea9f7fcf959bf0bfb8066 (patch) | |
tree | f499f446cea7437612a0edbfea1724e259b9c90d /src/sysctl | |
parent | hwdb: add Lenovo Yoga 510-14IKB sensor mount quirk (#6799) (diff) | |
download | systemd-b50846055ee7e846697ea9f7fcf959bf0bfb8066.tar.xz systemd-b50846055ee7e846697ea9f7fcf959bf0bfb8066.zip |
exec-util,conf-files: skip non-executable files in execute_directories()
Fixes: #6787
Diffstat (limited to 'src/sysctl')
-rw-r--r-- | src/sysctl/sysctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sysctl/sysctl.c b/src/sysctl/sysctl.c index 41a6dcbd1b..ce4ff8c8a3 100644 --- a/src/sysctl/sysctl.c +++ b/src/sysctl/sysctl.c @@ -280,7 +280,7 @@ int main(int argc, char *argv[]) { _cleanup_strv_free_ char **files = NULL; char **f; - r = conf_files_list_nulstr(&files, ".conf", NULL, conf_file_dirs); + r = conf_files_list_nulstr(&files, ".conf", NULL, 0, conf_file_dirs); if (r < 0) { log_error_errno(r, "Failed to enumerate sysctl.d files: %m"); goto finish; |