retcode -> retval for exit message.

This commit is contained in:
Nicholas Marriott
2013-10-06 00:18:00 +01:00
parent 01a4752503
commit 3fba377ddd
3 changed files with 4 additions and 3 deletions

View File

@@ -143,7 +143,7 @@ cmdq_error(struct cmd_q *cmdq, const char *fmt, ...)
evbuffer_add(c->stderr_data, "\n", 1);
server_push_stderr(c);
c->retcode = 1;
c->retval = 1;
} else {
*msg = toupper((u_char) *msg);
status_message_set(c, "%s", msg);