]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - common/cli_simple.c
arm64: add support for Ka-Ro TXSD-410E
[karo-tx-uboot.git] / common / cli_simple.c
index bb96aaead60452b87cf44979b9dc586630855cf7..40e0beb217ce4de07008738835ce6ae0ba56ae3d 100644 (file)
@@ -294,11 +294,12 @@ void cli_simple_loop(void)
                }
 #endif
 
-               if (len == -1)
+               if (len == -1) {
                        puts("<INTERRUPT>\n");
-               else
+                       rc = 0;
+               } else {
                        rc = run_command_repeatable(lastcommand, flag);
-
+               }
                if (rc <= 0) {
                        /* invalid command or not repeatable, forget it */
                        lastcommand[0] = 0;