diff options
Diffstat (limited to 'lib/Smokeping.pm')
-rw-r--r-- | lib/Smokeping.pm | 2 |
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 = { |