summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 0c805c98a9..5b75ecca8e 100644
--- a/src/main.c
+++ b/src/main.c
@@ -848,7 +848,7 @@ static int parse_argv(int argc, char *argv[]) {
* relevant for us, hence we rely on argv[]
* instead. */
- for (a = argv + optind; a < argv + argc; a++)
+ for (a = argv; a < argv + argc; a++)
if ((r = parse_proc_cmdline_word(*a)) < 0)
return r;
}