From 447a805f04115a0e32a1b9ad6be7c0177c3f8977 Mon Sep 17 00:00:00 2001 From: Leo C Date: Wed, 27 Jun 2018 23:43:19 +0200 Subject: [PATCH] cli.c bugfix: Comment only lines are not an error. --- avr/cli.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/avr/cli.c b/avr/cli.c index 922f9e1..9f48d3d 100644 --- a/avr/cli.c +++ b/avr/cli.c @@ -319,8 +319,8 @@ static int cli_run_command(const char *cmd, int flag) /* Extract arguments */ argc = cli_parse_line(finaltoken, argv); if (argc == 0) { - rc = -1; /* no command at all */ - continue; + //rc = -1; + continue; /* no command at all */ } if (opt_xtrace) -- 2.39.2