From: octo Date: Tue, 24 Jan 2006 09:35:43 +0000 (+0000) Subject: `DataDir' and `LogFile' were not valid in `Client' mode. This fixes it.. X-Git-Tag: collectd-3.7.0~36 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=e9337519e458dbb976ee019fff7a3e5f76bbe842;p=collectd.git `DataDir' and `LogFile' were not valid in `Client' mode. This fixes it.. --- diff --git a/src/configfile.c b/src/configfile.c index 988f7312..be90dd37 100644 --- a/src/configfile.c +++ b/src/configfile.c @@ -70,8 +70,8 @@ static cf_mode_item_t cf_mode_list[] = {"Server", NULL, MODE_CLIENT }, {"Port", NULL, MODE_CLIENT | MODE_SERVER }, {"PIDFile", NULL, MODE_CLIENT | MODE_SERVER | MODE_LOCAL}, - {"DataDir", NULL, MODE_SERVER | MODE_SERVER | MODE_LOCAL}, - {"LogFile", NULL, MODE_SERVER | MODE_SERVER | MODE_LOCAL} + {"DataDir", NULL, MODE_CLIENT | MODE_SERVER | MODE_LOCAL}, + {"LogFile", NULL, MODE_CLIENT | MODE_SERVER | MODE_LOCAL} }; static int cf_mode_num = 5;