diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2009-10-13 13:15:26 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2009-10-13 13:15:26 +0000 |
commit | 0907ca19310267a40a1e4edd76ec81e2bb79231d (patch) | |
tree | a27a65bd9693a07eb3235a849446e1632a230399 /cmd-server-info.c | |
parent | 760e39e405fc5b31432989df146b21bb8b78c205 (diff) |
Do this in a better way - print messages when exiting with nonzero.
Also remove the login shell information from server-info, only the client
should care about it.
Diffstat (limited to 'cmd-server-info.c')
-rw-r--r-- | cmd-server-info.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/cmd-server-info.c b/cmd-server-info.c index 48ea3707..7ad7bdd6 100644 --- a/cmd-server-info.c +++ b/cmd-server-info.c @@ -68,9 +68,8 @@ cmd_server_info_exec(unused struct cmd *self, struct cmd_ctx *ctx) tim = ctime(&start_time); *strchr(tim, '\n') = '\0'; ctx->print(ctx, "pid %ld, started %s", (long) getpid(), tim); - ctx->print(ctx, "socket path %s, debug level %d%s%s", - socket_path, debug_level, be_quiet ? ", quiet" : "", - login_shell ? ", login shell" : ""); + ctx->print(ctx, "socket path %s, debug level %d%s", + socket_path, debug_level, be_quiet ? ", quiet" : ""); if (uname(&un) == 0) { ctx->print(ctx, "system is %s %s %s %s", un.sysname, un.release, un.version, un.machine); |