diff options
author | Lennart Poettering <lennart@poettering.net> | 2011-06-29 00:06:04 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2011-06-29 00:06:04 +0200 |
commit | 932e3ee76ea0a9d28902f694ad1873e37532da35 (patch) | |
tree | 5e6017ffe793879918dd60bbb7de860fd72054e7 /src/logind-seat.c | |
parent | fde78a3ac01db57a384e5936bf2c033dcdeae494 (diff) |
logind: use named pipes instead of fifos to keep track of sessions so that we can reconnect later
Diffstat (limited to 'src/logind-seat.c')
-rw-r--r-- | src/logind-seat.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/logind-seat.c b/src/logind-seat.c index 5663aeea4b..1bc0570517 100644 --- a/src/logind-seat.c +++ b/src/logind-seat.c @@ -449,6 +449,9 @@ int seat_get_idle_hint(Seat *s, dual_timestamp *t) { int seat_check_gc(Seat *s) { assert(s); + if (!s->started) + return 0; + if (seat_is_vtconsole(s)) return 1; |