]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - arch/sandbox/cpu/start.c
sandbox: Allow -c argument to provide a command list
[karo-tx-uboot.git] / arch / sandbox / cpu / start.c
index 2fcec8b363b2a53338ef0ec7189a3dc6bcf1ff6d..ae6e16caba2d887b1e0a45a9a3459eca7ed62f76 100644 (file)
@@ -90,7 +90,7 @@ int sandbox_main_loop_init(void)
 
        /* Execute command if required */
        if (state->cmd) {
-               run_command(state->cmd, 0);
+               run_command_list(state->cmd, -1, 0);
                os_exit(state->exit_type);
        }