1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-23 21:35:11 +03:00

systemctl: line break string where the newlines are

This commit is contained in:
Lennart Poettering 2022-11-22 18:46:01 +01:00
parent 2865507008
commit 0ce6f0a35a

View File

@ -168,8 +168,10 @@ static int create_edit_temp_file(
fprintf(f,
"### Editing %s\n"
EDIT_MARKER_START
"\n\n%s%s\n"
EDIT_MARKER_START "\n"
"\n"
"%s%s"
"\n"
EDIT_MARKER_END,
new_path,
strempty(new_contents),