summaryrefslogtreecommitdiff
path: root/userland/minibox/utilities/minibox.c
diff options
context:
space:
mode:
Diffstat (limited to 'userland/minibox/utilities/minibox.c')
-rw-r--r--userland/minibox/utilities/minibox.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/userland/minibox/utilities/minibox.c b/userland/minibox/utilities/minibox.c
index ec5fdbd..f412efc 100644
--- a/userland/minibox/utilities/minibox.c
+++ b/userland/minibox/utilities/minibox.c
@@ -6,8 +6,9 @@ int main(int argc, char **argv);
// Should a command be called via "minibox <command> <arguments>" then shift
// argv and argc to become "<command> <arguments>" and rerun main()
int minibox_main(int argc, char **argv) {
- if (argc < 2)
+ if (argc < 2) {
usage();
+ }
argc--;
argv++;