- if (nologinflag) {
- logent(NOLOGIN, "UUCICO SHUTDOWN");
- if (Debug > 4)
- logent("DEBUGGING", "continuing anyway");
- else {
- WMESG(HUP, YES);
- RMESG(HUP, msg, 1);
- goto process;
+ if (Now.time > (LastCheckedNoLogin.time+60)) {
+ LastCheckedNoLogin = Now;
+ if (access(NOLOGIN, 0) == 0) {
+ logent(NOLOGIN, "UUCICO SHUTDOWN");
+ if (Debug > 4)
+ logent("DEBUGGING", "continuing anyway");
+ else {
+ WMESG(HUP, YES);
+ RMESG(HUP, msg, 1);
+ goto process;
+ }