ui/common: Set current console on boot command
authorSamuel Mendoza-Jonas <sam@mendozajonas.com>
Wed, 8 Jun 2016 04:10:28 +0000 (14:10 +1000)
committerSamuel Mendoza-Jonas <sam@mendozajonas.com>
Wed, 29 Jun 2016 04:19:08 +0000 (14:19 +1000)
Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
ui/common/discover-client.c

index 71ef70b81fdb3f146e498ba4a38f9c0a438494bb..6247dd0471b6b5fa6f8247adb68f872297eb6c52 100644 (file)
@@ -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,