diff options
Diffstat (limited to 'cmd-server-info.c')
-rw-r--r-- | cmd-server-info.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cmd-server-info.c b/cmd-server-info.c index 44c6375a..e2e33646 100644 --- a/cmd-server-info.c +++ b/cmd-server-info.c @@ -30,7 +30,7 @@ * Show various information about server. */ -int cmd_server_info_exec(struct cmd *, struct cmd_ctx *); +enum cmd_retval cmd_server_info_exec(struct cmd *, struct cmd_ctx *); const struct cmd_entry cmd_server_info_entry = { "server-info", "info", @@ -43,7 +43,7 @@ const struct cmd_entry cmd_server_info_entry = { }; /* ARGSUSED */ -int +enum cmd_retval cmd_server_info_exec(unused struct cmd *self, struct cmd_ctx *ctx) { struct tty_term *term; @@ -179,5 +179,5 @@ cmd_server_info_exec(unused struct cmd *self, struct cmd_ctx *ctx) job->cmd, job->fd, job->pid, job->status); } - return (0); + return (CMD_RETURN_NORMAL); } |