systemctl: Add missing "/" to files created by 'edit --runtime'

This commit is contained in:
Douglas Christman 2016-06-22 15:09:33 -04:00
parent 1e9707d495
commit 79d4ace11e

View file

@ -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();
}