Skip to content

Commit

Permalink
6545 fix for 6540 did miss the pam_sm_close_session()
Browse files Browse the repository at this point in the history
Reviewed by: Richard Lowe <[email protected]>
Reviewed by: Lauri Tirkkonen <[email protected]>
Approved by: Dan McDonald <[email protected]>
  • Loading branch information
tsoome authored and Dan McDonald committed Jan 6, 2016
1 parent ceef08d commit 1962723
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion usr/src/lib/pam_modules/unix_session/unix_session.c
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ pam_sm_close_session(pam_handle_t *pamh, int flags, int argc,
for (i = 0; i < argc; i++) {
if (strcasecmp(argv[i], "debug") == 0)
debug = 1;
else
else if (strcasecmp(argv[i], "nowarn") != 0)
syslog(LOG_ERR, "illegal option %s", argv[i]);
}

Expand Down

0 comments on commit 1962723

Please sign in to comment.