The configure line of kernel should have the same indent with the one of hypervisor. The reset is no needed. Signed-off-by: Junxiao Bi <junxiao.bi@xxxxxxxxxx> --- grubby.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/grubby.c b/grubby.c index 491b07d..6e91cae 100644 --- a/grubby.c +++ b/grubby.c @@ -3791,9 +3791,6 @@ int addNewKernel(struct grubConfig * config, struct singleEntry * template, newLine = addLine(new, config->cfi, LT_HYPER, tmplLine->indent, newMBKernel + strlen(prefix)); - /* set up for adding the kernel line */ - free(tmplLine->indent); - tmplLine->indent = strdup(config->secondaryIndent); needs &= ~NEED_MB; } if (needs & NEED_KERNEL) { -- 1.7.9.5 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list