chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
main: don't verify that we have no trailing args since the kernel sometimes passes...
[elogind.git]
/
main.c
diff --git
a/main.c
b/main.c
index fb5ba6aef25e187a4649a0c63c93cfb39572d997..15ed0f1e2e75af78048037e9bef537d995513778 100644
(file)
--- 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;
}