summaryrefslogtreecommitdiff
path: root/src/machine
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2023-04-08 13:56:06 +0900
committerGitHub <noreply@github.com>2023-04-08 13:56:06 +0900
commit37cc68b30c61298569f343eade74458df398b702 (patch)
tree8bca94f6ca0cb2c29d6c3083440a2a6dc32d649c /src/machine
parent9acb7ee42568f72baddd54dcea39fec92094f86c (diff)
parent77c9bb177aaed9395770c5bacf790b4c41bb3999 (diff)
downloadsystemd-37cc68b30c61298569f343eade74458df398b702.tar.gz
Merge pull request #27174 from YHNdnzj/edit-util-fixlets
edit-util: several improvements
Diffstat (limited to 'src/machine')
-rw-r--r--src/machine/machinectl.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/machine/machinectl.c b/src/machine/machinectl.c
index 447f1a70b0..71b9d0d4c1 100644
--- a/src/machine/machinectl.c
+++ b/src/machine/machinectl.c
@@ -1454,9 +1454,7 @@ static int get_settings_path(const char *name, char **ret_path) {
}
static int edit_settings(int argc, char *argv[], void *userdata) {
- _cleanup_(edit_file_context_done) EditFileContext context = {
- .remove_parent = false,
- };
+ _cleanup_(edit_file_context_done) EditFileContext context = {};
int r;
if (!on_tty())