diff --git a/netutils/chat/chat.c b/netutils/chat/chat.c index 2e883ed11..2a319f610 100644 --- a/netutils/chat/chat.c +++ b/netutils/chat/chat.c @@ -682,7 +682,9 @@ static int chat_script_run(FAR struct chat *priv) } } +#ifdef CONFIG_DEBUG_INFO _info("Script result %d, exited on line %d\n", ret, line_num); +#endif return ret; }