Commit 4ca9990d authored by Grzegorz Daniluk's avatar Grzegorz Daniluk

init: shell_exec wants command without \n at the end

parent 92973e0f
......@@ -286,9 +286,9 @@ int shell_boot_script(void)
if(next==0) mprintf("Empty init script...\n");
break;
}
cmd_buf[cmd_len] = 0;
cmd_buf[cmd_len-1] = 0;
mprintf("executing: %s", cmd_buf);
mprintf("executing: %s\n", cmd_buf);
_shell_exec();
next = 1;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment