--- src/rrd_daemon.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/rrd_daemon.c b/src/rrd_daemon.c index bba371c..4a686a0 100644 --- a/src/rrd_daemon.c +++ b/src/rrd_daemon.c @@ -1640,6 +1640,8 @@ static int handle_request (listen_socket_t *sock, /* {{{ */ return batch_start(sock); else if (strcasecmp (command, ".") == 0 && sock != NULL && sock->batch_start) return batch_done(sock); + else if (strcasecmp (command, "quit") == 0) + return -1; else return send_response(sock, RESP_ERR, "Unknown command: %s\n", command); -- 1.6.0.3 _______________________________________________ rrd-developers mailing list rrd-developers@lists.oetiker.ch https://lists.oetiker.ch/cgi-bin/listinfo/rrd-developers