1
0
mirror of https://github.com/systemd/systemd.git synced 2025-01-09 01:18:19 +03:00

systemctl: edit: rephrase edit markers to avoid misunderstanding

Closes #25856
This commit is contained in:
Mike Yuan 2022-12-27 17:41:18 +08:00 committed by Luca Boccassi
parent 0855ce6772
commit 44db9fbb39

View File

@ -19,8 +19,8 @@
#include "terminal-util.h" #include "terminal-util.h"
#include "tmpfile-util.h" #include "tmpfile-util.h"
#define EDIT_MARKER_START "### Anything between here and the comment below will become the new contents of the file" #define EDIT_MARKER_START "### Anything between here and the comment below will become the contents of the drop-in file"
#define EDIT_MARKER_END "### Lines below this comment will be discarded" #define EDIT_MARKER_END "### Edits below this comment will be discarded"
int verb_cat(int argc, char *argv[], void *userdata) { int verb_cat(int argc, char *argv[], void *userdata) {
_cleanup_(hashmap_freep) Hashmap *cached_name_map = NULL, *cached_id_map = NULL; _cleanup_(hashmap_freep) Hashmap *cached_name_map = NULL, *cached_id_map = NULL;