summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRonny Chevalier <chevalier.ronny@gmail.com>2016-06-23 10:15:40 +0100
committerGitHub <noreply@github.com>2016-06-23 10:15:40 +0100
commit2bb6c19f5246df3b89ced17217458140921510ed (patch)
treeb3662070c7f69e6d402004ea432d02f58b796ba0
parent4b7abb5b1186422637089f2863cb8c3705c026e0 (diff)
parent79d4ace11e2813987d611aeae91b4f1237d98928 (diff)
Merge pull request #3581 from dobyrch/master
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();
}