aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index bc13ba22..836ede5d 100644
--- a/main.c
+++ b/main.c
@@ -193,7 +193,7 @@ void toybox_main(void)
struct toy_list *tl= toy_find(basename(libbuf));
if (tl == toy_list) unknown(basename(toys.argv[1]));
- else toy_exec_which(tl, toys.argv);
+ else toy_exec_which(tl, toys.argv+1);
}
}