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=")) {