diff options
author | John Hood <cgull@glup.org> | 2017-04-08 13:29:41 -0400 |
---|---|---|
committer | John Hood <cgull@glup.org> | 2017-04-24 22:40:30 -0400 |
commit | 3f0ac51071d08c860a9ee70d8a6a4b830850e414 (patch) | |
tree | 2a49f19b20afb593b5cd5d0c069e3212f19d9c86 | |
parent | 95f7bf3e6c7a6e35e0d473bab8ab5173b6bd9e52 (diff) |
Don't print /etc/motd on IllumOS.
-rw-r--r-- | src/frontend/mosh-server.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/frontend/mosh-server.cc b/src/frontend/mosh-server.cc index e95ace8..349a129 100644 --- a/src/frontend/mosh-server.cc +++ b/src/frontend/mosh-server.cc @@ -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 ); } |