mirror of
https://github.com/AuxXxilium/eudev.git
synced 2024-12-22 06:28:35 +07:00
main: fix parsing of systemd.default= kernel command line argument
This commit is contained in:
parent
113166332c
commit
82771ba1f9
2
main.c
2
main.c
@ -70,7 +70,7 @@ static int parse_proc_cmdline_word(const char *word) {
|
|||||||
};
|
};
|
||||||
|
|
||||||
if (startswith(word, "systemd.default="))
|
if (startswith(word, "systemd.default="))
|
||||||
return set_default_unit(word + 15);
|
return set_default_unit(word + 16);
|
||||||
|
|
||||||
else if (startswith(word, "systemd.log_target=")) {
|
else if (startswith(word, "systemd.log_target=")) {
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user