summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobi Oetiker <tobi@oetiker.ch>2007-08-13 12:04:40 +0200
committerTobi Oetiker <tobi@oetiker.ch>2007-08-13 12:04:40 +0200
commit1c948851e2075ec02d48ac30ebfd4efe9efb8453 (patch)
treeed6b722eac8807bf0f700fe650836ed17d82a981
parentb72d4f8b4febf466c16d1d6775e4e4ba8746db83 (diff)
downloadsmokeping-1c948851e2075ec02d48ac30ebfd4efe9efb8453.tar.gz
smokeping-1c948851e2075ec02d48ac30ebfd4efe9efb8453.tar.xz
another variable name fixed
-rw-r--r--lib/Smokeping.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Smokeping.pm b/lib/Smokeping.pm
index 6084d0f..c64f00e 100644
--- a/lib/Smokeping.pm
+++ b/lib/Smokeping.pm
@@ -3501,7 +3501,7 @@ sub main (;$) {
my $slave_cfg;
my $cfgfile = $opt{config} || $defaultcfg;
if (exists $opt{'master-url'}){ # ok we go slave-mode
- open my $fd, "<$opt{'shared-secret'}" or die "ERROR: opening $secret: $!\n";
+ open my $fd, "<$opt{'shared-secret'}" or die "ERROR: opening $opt{'shared-secret'} $!\n";
chomp(my $secret = <$fd>);
close $fd;
$slave_cfg = {