From: Florian Forster Date: Sun, 25 Jun 2006 08:27:04 +0000 (+0200) Subject: Set `operating_mode' to a defined state, even if not linking with librrd. X-Git-Tag: collectd-3.9.4~6 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=561844fdb6c147cba89e9f780335949df33ffd8d;p=collectd.git Set `operating_mode' to a defined state, even if not linking with librrd. --- diff --git a/src/collectd.c b/src/collectd.c index b4ee5046..e9bc0d5d 100644 --- a/src/collectd.c +++ b/src/collectd.c @@ -291,6 +291,8 @@ int main (int argc, char **argv) #if HAVE_LIBRRD operating_mode = MODE_LOCAL; +#else + operating_mode = MODE_CLIENT; #endif /* open syslog */