Back out previous commit, I wasn't thinking clearly.
This commit is contained in:
parent
93174d0222
commit
d477c0ca56
@ -297,8 +297,7 @@ main(int argc, char *argv[])
|
||||
pam_syslog("pam_set_item(PAM_TTY)");
|
||||
bail(NO_SLEEP_EXIT, 1);
|
||||
}
|
||||
pam_err = pam_set_item(pamh, PAM_RHOST,
|
||||
hostname == NULL ? "localhost" : hostname);
|
||||
pam_err = pam_set_item(pamh, PAM_RHOST, hostname);
|
||||
if (pam_err != PAM_SUCCESS) {
|
||||
pam_syslog("pam_set_item(PAM_RHOST)");
|
||||
bail(NO_SLEEP_EXIT, 1);
|
||||
|
Loading…
Reference in New Issue
Block a user