1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-25 01:34:28 +03:00

main: fix parsing of systemd.default= kernel command line argument

This commit is contained in:
Lennart Poettering 2010-04-08 02:00:22 +02:00
parent 113166332c
commit 82771ba1f9

2
main.c
View File

@ -70,7 +70,7 @@ static int parse_proc_cmdline_word(const char *word) {
};
if (startswith(word, "systemd.default="))
return set_default_unit(word + 15);
return set_default_unit(word + 16);
else if (startswith(word, "systemd.log_target=")) {