From: Lennart Poettering Date: Tue, 22 Nov 2022 17:46:01 +0000 (+0100) Subject: systemctl: line break string where the newlines are X-Git-Tag: v253-rc1~257^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0ce6f0a35a4ed6d187c86751d36b76ca0e515f7a;p=thirdparty%2Fsystemd.git systemctl: line break string where the newlines are --- diff --git a/src/systemctl/systemctl-edit.c b/src/systemctl/systemctl-edit.c index 7d919b28e27..19df478818b 100644 --- a/src/systemctl/systemctl-edit.c +++ b/src/systemctl/systemctl-edit.c @@ -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),