diff options
author | Stef Walter <stef@memberwebs.com> | 2006-12-09 02:38:42 +0000 |
---|---|---|
committer | Stef Walter <stef@memberwebs.com> | 2006-12-09 02:38:42 +0000 |
commit | 2ba8cd814f0de8bc8cb18d5add9fa35c88fb9330 (patch) | |
tree | 6e67a2deeaf99fc2b1269bc932583e9f67a2a9e6 | |
parent | 9baf328de072e798a59d4b4d9a84ac6fd43ec6d7 (diff) |
- Fix bug where rrdbot-create ignored '-c' argument [benj]
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | tools/rrdbot-create.c | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -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 */ |