From ec82dfa6207090d285c4617e1d0a7a2284e390c3 Mon Sep 17 00:00:00 2001 From: Samuel Mendoza-Jonas Date: Wed, 8 Jun 2016 14:10:28 +1000 Subject: ui/common: Set current console on boot command Signed-off-by: Samuel Mendoza-Jonas --- ui/common/discover-client.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ui/common/discover-client.c b/ui/common/discover-client.c index 71ef70b..6247dd0 100644 --- a/ui/common/discover-client.c +++ b/ui/common/discover-client.c @@ -312,6 +312,7 @@ static void create_boot_command(struct boot_command *command, command->initrd_file = data->initrd; command->dtb_file = data->dtb; command->boot_args = data->args; + command->tty = ttyname(STDIN_FILENO); } int discover_client_boot(struct discover_client *client, -- cgit v1.1