chiark / gitweb /
logind: more robust handling of VT-less systems
authorMichal Schmidt <mschmidt@redhat.com>
Fri, 15 Jun 2012 20:22:24 +0000 (22:22 +0200)
committerMichal Schmidt <mschmidt@redhat.com>
Fri, 15 Jun 2012 20:34:34 +0000 (22:34 +0200)
commitcdc564d27f71f82457e96e9b237564fc6e8e84c9
treec9f5e954c693574c46191244054acaa233c24fa8
parent98709151f3e782eb508ba15e2a12c0b46003f061
logind: more robust handling of VT-less systems

Restore the check that was removed in commit 74afee9c. Its removal
caused a regression on some s390x systems where for whatever reason the
device node /dev/tty0 exists and makes the preceding access() check
pass.
src/login/logind.c