[PATCH 3/3] grubby: make kernel line same indent with hyper line

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux