summaryrefslogtreecommitdiff
path: root/src/login/logind-user.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-11-05 01:27:27 +0100
committerLennart Poettering <lennart@poettering.net>2013-11-05 01:27:27 +0100
commit3a9f7a30ce89b44097731310221802f6d72ea752 (patch)
tree644f8d9b2b88f652ad79fe836df539d58c7f7580 /src/login/logind-user.c
parentb8358bce140f0e99d9603a7f09a96f24d3b47f74 (diff)
logind: expose linger state on User object
Diffstat (limited to 'src/login/logind-user.c')
-rw-r--r--src/login/logind-user.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/login/logind-user.c b/src/login/logind-user.c
index bfbdfaf547..6ba8d9807b 100644
--- a/src/login/logind-user.c
+++ b/src/login/logind-user.c
@@ -587,7 +587,7 @@ int user_get_idle_hint(User *u, dual_timestamp *t) {
return idle_hint;
}
-static int user_check_linger_file(User *u) {
+int user_check_linger_file(User *u) {
_cleanup_free_ char *cc = NULL;
char *p = NULL;