summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-04-07 03:17:47 +0200
committerLennart Poettering <lennart@poettering.net>2010-04-07 03:17:47 +0200
commita23da0622c9abf088428309e3f1b83e9b1b02d2e (patch)
treefe402438aeb02b4eb751c4a001eec3d8f6a45385
parenta1682c907a6198d15325db9009cabca670af730d (diff)
main: don't verify that we have no trailing args since the kernel sometimes passes us some
-rw-r--r--main.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/main.c b/main.c
index fb5ba6aef2..15ed0f1e2e 100644
--- a/main.c
+++ b/main.c
@@ -212,11 +212,6 @@ static int parse_argv(int argc, char *argv[]) {
return -EINVAL;
}
- if (optind < argc) {
- log_error("Too many arguments.");
- return -EINVAL;
- }
-
return 0;
}