mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 23:24:38 +00:00
tools: kwboot: unbreak terminal-only mode
Commit 84899e2
("tools/kwboot: Sync with latest barebox version to
support Armada XP") accidently broke the terminal-only mode (-t) by
removing the test on the bootmsg. Thus even when trying to use kwboot
as a plain terminal, it asks to reboot the target.
This commit simply reintroduces the lost test so that it is possible
again to use kwboot to attach to the target system's console.
Signed-off-by: Willy Tarreau <w@1wt.eu>
Signed-off-by: Stefan Roese <sr@denx.de>
This commit is contained in:
parent
a6477f7cbc
commit
3475a71d4e
1 changed files with 1 additions and 1 deletions
|
@ -821,7 +821,7 @@ main(int argc, char **argv)
|
|||
perror("debugmsg");
|
||||
goto out;
|
||||
}
|
||||
} else {
|
||||
} else if (bootmsg) {
|
||||
rc = kwboot_bootmsg(tty, bootmsg);
|
||||
if (rc) {
|
||||
perror("bootmsg");
|
||||
|
|
Loading…
Reference in a new issue