seat: fix forwarding errors in seat_pause()
If we force a pause we need to forward the error code. Otherwise, we cannot properly react on it and print warnings. Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
This commit is contained in:
parent
527a73120b
commit
75435623e1
@ -335,7 +335,7 @@ static int seat_pause(struct kmscon_seat *seat, bool force)
|
||||
|
||||
session_deactivate(seat->current_sess);
|
||||
|
||||
return 0;
|
||||
return ret;
|
||||
}
|
||||
|
||||
static void seat_reschedule(struct kmscon_seat *seat)
|
||||
|
Loading…
x
Reference in New Issue
Block a user