exec-util,conf-files: skip non-executable files in execute_directories()

Fixes: #6787
This commit is contained in:
Lennart Poettering
2017-09-13 11:42:31 +02:00
parent 586377fc92
commit b50846055e
22 changed files with 68 additions and 35 deletions
+1 -1
View File
@@ -766,7 +766,7 @@ int netdev_load(Manager *manager) {
while ((netdev = hashmap_first(manager->netdevs)))
netdev_unref(netdev);
r = conf_files_list_strv(&files, ".netdev", NULL, network_dirs);
r = conf_files_list_strv(&files, ".netdev", NULL, 0, network_dirs);
if (r < 0)
return log_error_errno(r, "Failed to enumerate netdev files: %m");