diff --git a/examples/connection_tester.cpp b/examples/connection_tester.cpp index b99d969bb..d9061808e 100644 --- a/examples/connection_tester.cpp +++ b/examples/connection_tester.cpp @@ -643,8 +643,7 @@ int main(int argc, char* argv[]) if (argc != 6) print_usage(); test_mode = dual_test; } - - if (!download_test && !upload_test) print_usage(); + else print_usage(); int num_connections = atoi(argv[2]); error_code ec;