mnc: add empty handler

This commit is contained in:
Steve Schnepp 2013-02-09 11:29:04 +01:00
parent f3ae51d938
commit b95b1672c6
1 changed files with 1 additions and 0 deletions

View File

@ -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) {