Don't print /etc/motd on IllumOS.

This commit is contained in:
John Hood
2017-04-08 13:29:41 -04:00
parent 95f7bf3e6c
commit 3f0ac51071
+3
View File
@@ -554,7 +554,10 @@ static int run_server( const char *desired_ip, const char *desired_port,
chdir_homedir();
if ( with_motd && (!motd_hushed()) ) {
#ifndef __sun
/* On illumos motd is printed by /etc/profile */
print_motd();
#endif
warn_unattached( utmp_entry );
}