diff options
author | des <des@FreeBSD.org> | 2003-02-15 23:20:04 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2003-02-15 23:20:04 +0000 |
commit | 3fc8f673803b1b035b934f38bc81a45b9e1e691f (patch) | |
tree | fbf29f9e7f06eddf1e968c1f59bbab0c6ed8190c | |
parent | cc216413fbfff2a087f69755e784384e4e037c4a (diff) | |
download | FreeBSD-src-3fc8f673803b1b035b934f38bc81a45b9e1e691f.zip FreeBSD-src-3fc8f673803b1b035b934f38bc81a45b9e1e691f.tar.gz |
Back out previous commit, I wasn't thinking clearly.
-rw-r--r-- | usr.bin/login/login.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.bin/login/login.c b/usr.bin/login/login.c index a000360..5eb60fb 100644 --- a/usr.bin/login/login.c +++ b/usr.bin/login/login.c @@ -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); |