diff options
Diffstat (limited to 'cmd-server-info.c')
-rw-r--r-- | cmd-server-info.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/cmd-server-info.c b/cmd-server-info.c index daa08572..14212478 100644 --- a/cmd-server-info.c +++ b/cmd-server-info.c @@ -68,8 +68,9 @@ 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", - socket_path, debug_level, be_quiet ? ", quiet" : ""); + ctx->print(ctx, "socket path %s, debug level %d%s%s", + socket_path, debug_level, be_quiet ? ", quiet" : "", + login_shell ? ", login shell" : ""); if (uname(&un) == 0) { ctx->print(ctx, "system is %s %s %s %s", un.sysname, un.release, un.version, un.machine); |