From ee451d766a64117a41ec36dd71e61683c9d9b83c Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 23 Dec 2014 01:58:49 +0100 Subject: systemd-run: support -t mode when combined with -M For that, ask machined for a container PTY and use that. --- src/machine/machinectl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/machine/machinectl.c') diff --git a/src/machine/machinectl.c b/src/machine/machinectl.c index ccee16f2a8..b9e8381e6c 100644 --- a/src/machine/machinectl.c +++ b/src/machine/machinectl.c @@ -1053,7 +1053,7 @@ static int login_machine(int argc, char *argv[], void *userdata) { r = sd_bus_message_read(reply, "hs", &master, &pty); if (r < 0) - return r; + return bus_log_parse_error(r); p = startswith(pty, "/dev/pts/"); if (!p) { -- cgit v1.2.3-54-g00ecf