diff options
Diffstat (limited to 'lib/Smokeping/Slave.pm')
-rw-r--r-- | lib/Smokeping/Slave.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Smokeping/Slave.pm b/lib/Smokeping/Slave.pm index 32ce5a4..6214817 100644 --- a/lib/Smokeping/Slave.pm +++ b/lib/Smokeping/Slave.pm @@ -103,7 +103,7 @@ sub submit_results { if ($@){ warn "WARNING evaluating new config from server failed: $@ --\n$data"; } elsif (defined $config and ref $config eq 'HASH'){ - $config->{General}{piddir} = $slave_cfg->{cache_dir}; + $config->{General}{piddir} = $slave_cfg->{pid_dir}; Smokeping::do_log("Sent data to Server and got new config in response."); return $config; } |