login: correct comment in session_device_free()

We're not removing the pushed fd "again"; this is the only place
logind removes it from PID1.  (And stopping the fd doesn't always
cause PID1 to remove the fd itself; it depends on the device type).
This commit is contained in:
Alan Jenkins
2018-03-08 15:01:46 +00:00
parent f8f9419e87
commit a94c162021
+1 -1
View File
@@ -419,7 +419,7 @@ void session_device_free(SessionDevice *sd) {
if (sd->pushed_fd) {
const char *m;
/* Remove the pushed fd again, just in case. */
/* Make sure to remove the pushed fd. */
m = strjoina("FDSTOREREMOVE=1\n"
"FDNAME=session-", sd->session->id);