diff options
author | Olivier Brunel <jjk@jjacky.com> | 2014-08-08 20:45:43 +0200 |
---|---|---|
committer | David Herrmann <dh.herrmann@gmail.com> | 2014-08-11 18:38:44 +0200 |
commit | baccf3e40bab6c0b69992ae29c396930de4660c9 (patch) | |
tree | eb8062f104b76ce7709bf4486f03cd7d15ede7f8 /src/test/test-replace-var.c | |
parent | 7e8185ef942de5acecfa4cda03d7d7711ddda992 (diff) |
login: set_controller should fail if prepare_vt fails
If controllers can expect logind to have "prepared" the VT (e.g. set it to
graphics mode, etc) then TakeControl() should fail if said preparation
failed (and session_restore_vt() was called).
(David: fixed up !CONFIG_VT case and errno-numbers)
Diffstat (limited to 'src/test/test-replace-var.c')
0 files changed, 0 insertions, 0 deletions