diff options
author | Lennart Poettering <lennart@poettering.net> | 2011-06-24 19:42:45 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2011-06-24 19:42:45 +0200 |
commit | ed18b08bed983b845c72a83666a7d7db546d89ad (patch) | |
tree | abfd2a0deea88527011c95bf599d43b8f5644dc3 /src/logind-user-dbus.c | |
parent | 98a28fef2618e54a644614c759f371f297381b70 (diff) |
logind: various clean-ups
Diffstat (limited to 'src/logind-user-dbus.c')
-rw-r--r-- | src/logind-user-dbus.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/logind-user-dbus.c b/src/logind-user-dbus.c index 5926dcfbc7..6d7e8e7030 100644 --- a/src/logind-user-dbus.c +++ b/src/logind-user-dbus.c @@ -362,6 +362,9 @@ int user_send_changed(User *u, const char *properties) { assert(u); + if (!u->started) + return 0; + p = user_bus_path(u); if (!p) return -ENOMEM; |