diff options
| author | Jonathan Chen <jon@FreeBSD.org> | 2001-08-05 09:41:20 +0000 |
|---|---|---|
| committer | Jonathan Chen <jon@FreeBSD.org> | 2001-08-05 09:41:20 +0000 |
| commit | 974a54a2cdb8b2cf81373741b6ddfa037f1a2a19 (patch) | |
| tree | ded1e532f7fe2792bbc192b5cc0f9cd4be26fed0 /usr.sbin/ac | |
| parent | 48aa92042e43d7d1a1cafa66c29f4857d902bf71 (diff) | |
Notes
Diffstat (limited to 'usr.sbin/ac')
| -rw-r--r-- | usr.sbin/ac/ac.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ac/ac.c b/usr.sbin/ac/ac.c index 1b3ef8c5accc..b82a7e72c9a2 100644 --- a/usr.sbin/ac/ac.c +++ b/usr.sbin/ac/ac.c @@ -509,8 +509,8 @@ ac(fp) * a login session if the ut_host field is non-empty */ if (*usr.ut_name) { - if (strncmp(usr.ut_line, "tty", 3) != 0 || - strchr("pqrsPQRS", usr.ut_line[3]) == 0 || + if (strncmp(usr.ut_line, "tty", 3) == 0 || + strchr("pqrsPQRS", usr.ut_line[3]) != 0 || *usr.ut_host != '\0') head = log_in(head, &usr); } else |
