Skip to content

Commit 2bb6c19

Browse files
Merge pull request systemd#3581 from dobyrch/master
systemctl: Add missing "/" to files created by 'edit --runtime'
2 parents 4b7abb5 + 79d4ace commit 2bb6c19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/systemctl/systemctl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6093,7 +6093,7 @@ static int get_file_to_edit(
60936093
return log_oom();
60946094

60956095
if (arg_runtime) {
6096-
run = strjoin(paths->runtime_config, name, NULL);
6096+
run = strjoin(paths->runtime_config, "/", name, NULL);
60976097
if (!run)
60986098
return log_oom();
60996099
}

0 commit comments

Comments
 (0)