From 0ec5543c4c0318552a4dcdd83210793347b93081 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 7 Jan 2015 03:08:00 +0100 Subject: machinectl: make sure that "machinectl login" exits immediately when the machine it is connected to dies --- src/run/run.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/run/run.c') diff --git a/src/run/run.c b/src/run/run.c index 22abb0ebbb..d6d0b42d15 100644 --- a/src/run/run.c +++ b/src/run/run.c @@ -789,7 +789,7 @@ static int start_transient_service( if (r < 0) return log_error_errno(r, "Failed to run event loop: %m"); - pty_forward_last_char(forward, &last_char); + pty_forward_get_last_char(forward, &last_char); forward = pty_forward_free(forward); -- cgit v1.2.3-54-g00ecf