mirror of
https://github.com/vivier/EMILE.git
synced 2025-01-22 00:32:15 +00:00
read_line() : do not cross the the end of the configuration (0-mark), remove traces about kernel and initrd
This commit is contained in:
parent
8d2c64e23f
commit
d0411ded91
@ -23,6 +23,8 @@ static char *read_line(char *s)
|
||||
read++;
|
||||
s++;
|
||||
}
|
||||
if (*s == 0)
|
||||
return s;
|
||||
return s + 1;
|
||||
}
|
||||
|
||||
@ -194,8 +196,6 @@ int read_config(emile_l2_header_t* info,
|
||||
}
|
||||
}
|
||||
|
||||
printf("kernel %s\n", *kernel_path);
|
||||
printf("initrd %s\n", *ramdisk_path);
|
||||
#if defined(USE_CLI) && defined(__LINUX__)
|
||||
printf("command ");
|
||||
console_cursor_save();
|
||||
|
Loading…
x
Reference in New Issue
Block a user