summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouglas Christman <DouglasChristman@gmail.com>2016-06-22 15:09:33 -0400
committerDouglas Christman <DouglasChristman@gmail.com>2016-06-22 15:09:33 -0400
commit79d4ace11e2813987d611aeae91b4f1237d98928 (patch)
treec295678f2ef3a53066e2545830d648eaea3b6949
parent1e9707d495ca52f23dff4d0eb16a1c2346a0f34e (diff)
systemctl: Add missing "/" to files created by 'edit --runtime'
-rw-r--r--src/systemctl/systemctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/systemctl/systemctl.c b/src/systemctl/systemctl.c
index 0dfdae4538..38b5a7e082 100644
--- a/src/systemctl/systemctl.c
+++ b/src/systemctl/systemctl.c
@@ -6093,7 +6093,7 @@ static int get_file_to_edit(
return log_oom();
if (arg_runtime) {
- run = strjoin(paths->runtime_config, name, NULL);
+ run = strjoin(paths->runtime_config, "/", name, NULL);
if (!run)
return log_oom();
}