summaryrefslogtreecommitdiff
path: root/src/boot/bootctl.c
diff options
context:
space:
mode:
authorDavid Herrmann <dh.herrmann@gmail.com>2015-03-16 21:07:38 +0100
committerDavid Herrmann <dh.herrmann@gmail.com>2015-03-19 14:11:54 +0100
commite0d065d4059181bfbf0aba81f780d32ba194c319 (patch)
treef53f3990638632388640b5fab69319d5dc58399c /src/boot/bootctl.c
parentbf0e00ec58c0d203d0654c083bbe5c6d9cb23328 (diff)
bootctl: drop redundant parse_argv()
We already call parse_argv() from main(), don't call it here again.
Diffstat (limited to 'src/boot/bootctl.c')
-rw-r--r--src/boot/bootctl.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/boot/bootctl.c b/src/boot/bootctl.c
index ae467ca35c..bc1405145e 100644
--- 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))