From 2ba8cd814f0de8bc8cb18d5add9fa35c88fb9330 Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Sat, 9 Dec 2006 02:38:42 +0000 Subject: - Fix bug where rrdbot-create ignored '-c' argument [benj] --- ChangeLog | 1 + tools/rrdbot-create.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index f4a1203..6732d4d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,7 @@ 0.5 - Added SNMP version 2c support for rrdbot-get [Stoned Elipot] - Fixed asynchronous resolving on FreeBSD + - Fix bug where rrdbot-create ignored '-c' argument [benj] 0.4 - Reduced memory usage of SNMP requests diff --git a/tools/rrdbot-create.c b/tools/rrdbot-create.c index aa2ae0b..22dbaa4 100644 --- a/tools/rrdbot-create.c +++ b/tools/rrdbot-create.c @@ -839,7 +839,7 @@ main(int argc, char* argv[]) /* Config directory */ case 'c': - confdir = DEFAULT_CONFIG; + confdir = optarg; break; /* Only print commands */ -- cgit v1.2.3