]> git.sur5r.net Git - u-boot/blobdiff - common/cli_simple.c
libfdt: Fix segfault when calling fit_check_format() on corrupt FIT images
[u-boot] / common / cli_simple.c
index 49d58339286deb0ba5ca3e49708b850fcb1c0391..353ceeb7349ac144521a3838f5d66cbc2d479299 100644 (file)
@@ -295,7 +295,7 @@ void cli_simple_loop(void)
                if (len == -1)
                        puts("<INTERRUPT>\n");
                else
-                       rc = run_command(lastcommand, flag);
+                       rc = run_command_repeatable(lastcommand, flag);
 
                if (rc <= 0) {
                        /* invalid command or not repeatable, forget it */