aboutsummaryrefslogtreecommitdiff
path: root/src/drivers/hott/hott_telemetry/hott_telemetry.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/hott/hott_telemetry/hott_telemetry.cpp')
-rw-r--r--src/drivers/hott/hott_telemetry/hott_telemetry.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/hott/hott_telemetry/hott_telemetry.cpp b/src/drivers/hott/hott_telemetry/hott_telemetry.cpp
index 17a24d104..43df0cb8c 100644
--- a/src/drivers/hott/hott_telemetry/hott_telemetry.cpp
+++ b/src/drivers/hott/hott_telemetry/hott_telemetry.cpp
@@ -223,7 +223,7 @@ hott_telemetry_thread_main(int argc, char *argv[])
int
hott_telemetry_main(int argc, char *argv[])
{
- if (argc < 1) {
+ if (argc < 2) {
errx(1, "missing command\n%s", commandline_usage);
}