summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: eade40a)
raw | patch | inline | side by side (parent: eade40a)
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) |
program/src/rrd_daemon.c | patch | blob | history |
index 3226c38769edbf90fd710608764b61a323df1e6a..e2a1813a1efa3c3ffd0cf0ce449ce0452e1422b9 100644 (file)
--- a/program/src/rrd_daemon.c
+++ b/program/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);