Skip to content

Commit

Permalink
Update components/console_cmd_mqtt/console_mqtt.c
Browse files Browse the repository at this point in the history
Co-authored-by: Euripedes <[email protected]>
  • Loading branch information
espressif-abhikroy and euripedesrocha authored Nov 22, 2024
1 parent 232d21e commit 7ec4f76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/console_cmd_mqtt/console_mqtt.c
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ static int do_mqtt_cmd(int argc, char **argv)
#if defined(CONFIG_MBEDTLS_CERTIFICATE_BUNDLE)
/* Ensure --use_internal_bundle and --cafile are mutually exclusive */
if ((mqtt_args.use_internal_bundle->count > 0) && (mqtt_args.cafile->count > 0)) {
ESP_LOGE(TAG, "Error: --use-internal-bundle cannot be used with --cafile.\n");
ESP_LOGE(TAG, "Error: Options can't be used together. Use either --use-internal-bundle or --cafile. \n");
return 1;
}

Expand Down

0 comments on commit 7ec4f76

Please sign in to comment.