pam_xdg: Remove leftover debug printf

Sponsored by:	Beckhoff Automation GmbH & Co. KG
Fixes:		6e69612d5d ("pam: Add pam_xdg module")
This commit is contained in:
Emmanuel Vadot 2024-02-27 07:39:13 +01:00
parent 9398a495eb
commit 84329908c5

View file

@ -141,7 +141,6 @@ _pam_xdg_open(pam_handle_t *pamh, int flags __unused,
/* Setup the session count file */
for (i = 0; i < XDG_MAX_SESSION; i++) {
asprintf(&xdg_session_file, "%s/xdg_session.%d", user, i);
printf("Trying to open %s\n", xdg_session_file);
session_file = openat(rt_dir_prefix, xdg_session_file, O_CREAT | O_EXCL, RUNTIME_DIR_MODE);
free(xdg_session_file);
if (session_file >= 0)