diff options
Diffstat (limited to 'src/modules/fixedwing_backside/fixedwing_backside_main.cpp')
-rw-r--r-- | src/modules/fixedwing_backside/fixedwing_backside_main.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/modules/fixedwing_backside/fixedwing_backside_main.cpp b/src/modules/fixedwing_backside/fixedwing_backside_main.cpp index 71b387b1e..bd1486324 100644 --- a/src/modules/fixedwing_backside/fixedwing_backside_main.cpp +++ b/src/modules/fixedwing_backside/fixedwing_backside_main.cpp @@ -97,8 +97,9 @@ usage(const char *reason) int fixedwing_backside_main(int argc, char *argv[]) { - if (argc < 1) + if (argc < 2) { usage("missing command"); + } if (!strcmp(argv[1], "start")) { |