[4/6] ui/common: Set current console on boot command
diff mbox

Message ID 20160608062812.14480-5-sam@mendozajonas.com
State Accepted
Headers show

Commit Message

Samuel Mendoza-Jonas June 8, 2016, 6:28 a.m. UTC
Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
---
 ui/common/discover-client.c | 1 +
 1 file changed, 1 insertion(+)

Patch
diff mbox

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,