mirror of
https://github.com/munin-monitoring/contrib.git
synced 2018-11-08 00:59:34 +01:00
mnc: add empty handler
This commit is contained in:
parent
f3ae51d938
commit
b95b1672c6
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user