From 5eafdad846032f56f6c29d414ac4a5f4e4b7ee42 Mon Sep 17 00:00:00 2001 From: Martin Pulec Date: Tue, 26 Apr 2016 16:06:57 +0200 Subject: [PATCH] Small fix: wrong ret value --- src/control_socket.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/control_socket.cpp b/src/control_socket.cpp index a9079d7f0..b89511836 100644 --- a/src/control_socket.cpp +++ b/src/control_socket.cpp @@ -292,7 +292,7 @@ static int process_msg(struct control_state *s, fd_t client_fd, char *message, s if(strcasecmp(message, "quit") == 0) { return CONTROL_EXIT; } else if (strcasecmp(message, "exit") == 0) { - exit_uv(1); + exit_uv(0); resp = new_response(RESPONSE_OK, NULL); } else if (prefix_matches(message, "stats ")) { if (is_internal_port(client_fd)) {