Merge pull request #27174 from YHNdnzj/edit-util-fixlets

edit-util: several improvements
This commit is contained in:
Yu Watanabe
2023-04-08 13:56:06 +09:00
committed by GitHub
4 changed files with 63 additions and 78 deletions
+1 -3
View File
@@ -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())