summaryrefslogtreecommitdiff
path: root/src/logind-user.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-06-28 03:52:22 +0200
committerLennart Poettering <lennart@poettering.net>2011-06-28 03:52:22 +0200
commit7f7bb9467931e855cdf5ec46e53c8eb46aa778f5 (patch)
tree901641661ffcfaa8258be65c225065b2b9c2a599 /src/logind-user.c
parent30ed21ceb133173c849151c9fd6848bb34bb29bf (diff)
logind: implement SetUserLinger() D-Bus call
Diffstat (limited to 'src/logind-user.c')
-rw-r--r--src/logind-user.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/logind-user.c b/src/logind-user.c
index a4f78869a3..177e88200a 100644
--- a/src/logind-user.c
+++ b/src/logind-user.c
@@ -285,13 +285,13 @@ int user_start(User *u) {
if (r < 0)
return r;
- /* Save new user data */
- user_save(u);
-
dual_timestamp_get(&u->timestamp);
u->started = true;
+ /* Save new user data */
+ user_save(u);
+
user_send_signal(u, true);
return 0;