summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-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;
}