summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 890c744)
raw | patch | inline | side by side (parent: 890c744)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Sat, 8 Nov 2008 18:00:21 +0000 (18:00 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Sat, 8 Nov 2008 18:00:21 +0000 (18:00 +0000) |
src/rrd_daemon.c | patch | blob | history |
diff --git a/src/rrd_daemon.c b/src/rrd_daemon.c
index 3226c38769edbf90fd710608764b61a323df1e6a..e2a1813a1efa3c3ffd0cf0ce449ce0452e1422b9 100644 (file)
--- a/src/rrd_daemon.c
+++ b/src/rrd_daemon.c
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);