chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
bootctl: drop redundant parse_argv()
[elogind.git]
/
src
/
boot
/
bootctl.c
diff --git
a/src/boot/bootctl.c
b/src/boot/bootctl.c
index ae467ca35c9cc569f3626c95835224a584b4b1a2..bc1405145e5a27670a808409194a30cc27323a27 100644
(file)
--- a/
src/boot/bootctl.c
+++ b/
src/boot/bootctl.c
@@
-1285,10
+1285,6
@@
static int bootctl_main(int argc, char*argv[]) {
int q;
int r;
- r = parse_argv(argc, argv);
- if (r <= 0)
- goto finish;
-
if (argv[optind]) {
for (i = 0; i < ELEMENTSOF(verbs); i++) {
if (!streq(argv[optind], verbs[i].verb))