diff options
Diffstat (limited to 'src/logind-session-dbus.c')
-rw-r--r-- | src/logind-session-dbus.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/logind-session-dbus.c b/src/logind-session-dbus.c index 8d1e607e62..2435a6512b 100644 --- a/src/logind-session-dbus.c +++ b/src/logind-session-dbus.c @@ -429,6 +429,9 @@ int session_send_changed(Session *s, const char *properties) { assert(s); + if (!s->started) + return 0; + p = session_bus_path(s); if (!p) return -ENOMEM; |