summaryrefslogtreecommitdiff
path: root/src/core/load-dropin.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/load-dropin.c')
-rw-r--r--src/core/load-dropin.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/load-dropin.c b/src/core/load-dropin.c
index d53e77f706..52ebfea6dc 100644
--- a/src/core/load-dropin.c
+++ b/src/core/load-dropin.c
@@ -168,7 +168,8 @@ int unit_load_dropin(Unit *u) {
}
if (!strv_isempty(strv)) {
- _cleanup_strv_free_ char **files = NULL, **f;
+ _cleanup_strv_free_ char **files = NULL;
+ char **f;
r = conf_files_list_strv(&files, ".conf", (const char**) strv);
if (r < 0) {
@@ -183,6 +184,5 @@ int unit_load_dropin(Unit *u) {
}
}
-
return 0;
}