summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/sysctl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sysctl.c b/src/sysctl.c
index 09c0a6a615..76ce9d8640 100644
--- a/src/sysctl.c
+++ b/src/sysctl.c
@@ -138,7 +138,6 @@ int main(int argc, char *argv[]) {
else {
char **files, **f;
- apply_file("/etc/sysctl.conf", true);
r = conf_files_list(&files, ".conf",
"/run/sysctl.d",
@@ -160,6 +159,8 @@ int main(int argc, char *argv[]) {
r = k;
}
+ apply_file("/etc/sysctl.conf", true);
+
strv_free(files);
}
finish: