]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/login/logind-inhibit.c
logind: comment use of *_get_session()
[thirdparty/systemd.git] / src / login / logind-inhibit.c
index c1a319b87d900d3c48d733eb6bd606b9bf72092c..f97e2370197cc51c67e0b69f6691c96bb9a5f78c 100644 (file)
@@ -357,6 +357,8 @@ static int pid_is_active(Manager *m, pid_t pid) {
         Session *s;
         int r;
 
+        /* Get client session.  This is not what you are looking for these days.
+         * FIXME #6852 */
         r = manager_get_session_by_pid(m, pid, &s);
         if (r < 0)
                 return r;