chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a1682c9
)
main: don't verify that we have no trailing args since the kernel sometimes passes...
author
Lennart Poettering
<lennart@poettering.net>
Wed, 7 Apr 2010 01:17:47 +0000
(
03:17
+0200)
committer
Lennart Poettering
<lennart@poettering.net>
Wed, 7 Apr 2010 01:17:47 +0000
(
03:17
+0200)
main.c
patch
|
blob
|
history
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;
}