[740] in Athena Bugs
lack of motd
daemon@ATHENA.MIT.EDU (qjb@ATHENA.MIT.EDU)
Wed Aug 31 23:19:32 1988
From: <qjb@ATHENA.MIT.EDU>
Date: Wed, 31 Aug 88 23:18:16 EDT
To: bugs@ATHENA.MIT.EDU
I actually think that there is a slight problem:
if (file_version == 0) {
/* fprintf(stdout, "****gmotd MOTD indicates NO message of the day\n"); */
exit(0);
}
Even though gmotd was patched to allow it to display the local message
of the day, there are a number of places in the program where it
exits without ever getting to this point. One of these is if it
cannot connect to server. Another is if there is no motd.
The source for gmotd.c is very hard to read and follow, and since this
message is not being displayed, I am not exactly sure what is going
on. Still, my strong suspicion is that the program is exiting early
because of an unusual (no message available or something like that)
circumstance. This is a bug.