logind: release VT-positions when closing sessions
authorDavid Herrmann <dh.herrmann@gmail.com>
Fri, 31 Jul 2015 14:52:29 +0000 (16:52 +0200)
committerDavid Herrmann <dh.herrmann@gmail.com>
Fri, 31 Jul 2015 14:52:29 +0000 (16:52 +0200)
commit10189fd6be0f547d75bc857860f3ecbbdbc447a6
tree391700939961c985857466986161bcb83186afb7
parentb506d3141b97d0a3fbda461f4b8d9d64f46408d1
logind: release VT-positions when closing sessions

Make sure we release VT-positions when a session is closed. Otherwise,
lingering sessions will occupy VTs and prevent next logins from
succeeding.

Note that we already release session-devices when closing a session, so
there cannot be anyone using the VT anymore.
src/login/logind-session.c