aboutsummaryrefslogtreecommitdiff
path: root/src/modules/land_detector/land_detector_main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/land_detector/land_detector_main.cpp')
-rw-r--r--src/modules/land_detector/land_detector_main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/land_detector/land_detector_main.cpp b/src/modules/land_detector/land_detector_main.cpp
index 011567e57..b4b7c33a2 100644
--- a/src/modules/land_detector/land_detector_main.cpp
+++ b/src/modules/land_detector/land_detector_main.cpp
@@ -178,7 +178,7 @@ static int land_detector_start(const char *mode)
int land_detector_main(int argc, char *argv[])
{
- if (argc < 1) {
+ if (argc < 2) {
goto exiterr;
}