summaryrefslogtreecommitdiffstats
path: root/lib/Smokeping
diff options
context:
space:
mode:
authorTobi Oetiker <tobi@oetiker.ch>2007-08-16 11:17:49 +0200
committerTobi Oetiker <tobi@oetiker.ch>2007-08-16 11:17:49 +0200
commitdedbd98b8522b7da27dcae51cd7b50d6c5ff1c8d (patch)
treec1d775d14f5677ed765fe52196a79f87388a5e3e /lib/Smokeping
parentb62fb4f30a53a932d9b760ea119f830d63b828a7 (diff)
downloadsmokeping-dedbd98b8522b7da27dcae51cd7b50d6c5ff1c8d.tar.gz
smokeping-dedbd98b8522b7da27dcae51cd7b50d6c5ff1c8d.tar.xz
fix smokeping pid configurable
Diffstat (limited to 'lib/Smokeping')
-rw-r--r--lib/Smokeping/Slave.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Smokeping/Slave.pm b/lib/Smokeping/Slave.pm
index fb0c52c..e5ddb5d 100644
--- a/lib/Smokeping/Slave.pm
+++ b/lib/Smokeping/Slave.pm
@@ -100,7 +100,7 @@ sub submit_results {
if ($@){
warn "WARNING evaluating new config from server failed: $@";
} elsif (defined $VAR1 and ref $VAR1 eq 'HASH'){
- $VAR1->{General}{pidir} = $slave_cfg->{cache_dir};
+ $VAR1->{General}{piddir} = $slave_cfg->{cache_dir};
Smokeping::do_debuglog("Sent data to Server and got new config");
return $VAR1;
}