summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-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;
}