1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-05 15:21:37 +03:00

main: don't verify that we have no trailing args since the kernel sometimes passes us some

This commit is contained in:
Lennart Poettering 2010-04-07 03:17:47 +02:00
parent a1682c907a
commit a23da0622c

5
main.c
View File

@ -212,11 +212,6 @@ static int parse_argv(int argc, char *argv[]) {
return -EINVAL; return -EINVAL;
} }
if (optind < argc) {
log_error("Too many arguments.");
return -EINVAL;
}
return 0; return 0;
} }