From b95b1672c6d8ee6c3d389390ef355c46fb2ff3a0 Mon Sep 17 00:00:00 2001 From: Steve Schnepp Date: Sat, 9 Feb 2013 11:29:04 +0100 Subject: [PATCH] mnc: add empty handler --- tools/munin-node-c/main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/munin-node-c/main.c b/tools/munin-node-c/main.c index 8f2c0575..e814bb49 100644 --- a/tools/munin-node-c/main.c +++ b/tools/munin-node-c/main.c @@ -64,6 +64,7 @@ int main(int argc, char *argv[]) { arg = strtok(line, " \t\n"); if (!cmd || strlen(cmd) == 0) { + printf("# empty cmd\n"); } else if (strcmp(cmd, "version") == 0) { printf("munin c node version: %s\n", VERSION); } else if (strcmp(cmd, "nodes") == 0) {