Back out previous commit, I wasn't thinking clearly.

This commit is contained in:
Dag-Erling Smørgrav 2003-02-15 23:20:04 +00:00
parent 93174d0222
commit d477c0ca56

View File

@ -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);