summaryrefslogtreecommitdiff
path: root/src/logind-seat-dbus.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-06-24 19:42:45 +0200
committerLennart Poettering <lennart@poettering.net>2011-06-24 19:42:45 +0200
commited18b08bed983b845c72a83666a7d7db546d89ad (patch)
treeabfd2a0deea88527011c95bf599d43b8f5644dc3 /src/logind-seat-dbus.c
parent98a28fef2618e54a644614c759f371f297381b70 (diff)
logind: various clean-ups
Diffstat (limited to 'src/logind-seat-dbus.c')
-rw-r--r--src/logind-seat-dbus.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/logind-seat-dbus.c b/src/logind-seat-dbus.c
index 4a4527d01d..ad0298e7a7 100644
--- a/src/logind-seat-dbus.c
+++ b/src/logind-seat-dbus.c
@@ -378,6 +378,9 @@ int seat_send_changed(Seat *s, const char *properties) {
assert(s);
+ if (!s->started)
+ return 0;
+
p = seat_bus_path(s);
if (!p)
return -ENOMEM;