From d50407564ea1f1ab7a6e0554e77e50b9434e0828 Mon Sep 17 00:00:00 2001 From: Akos Vandra Date: Sun, 25 Sep 2016 17:01:11 +0200 Subject: [PATCH] add missing ; --- contrib/SpamAssassin/Collectd.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/SpamAssassin/Collectd.pm b/contrib/SpamAssassin/Collectd.pm index 58d1e686..b53cf953 100644 --- a/contrib/SpamAssassin/Collectd.pm +++ b/contrib/SpamAssassin/Collectd.pm @@ -152,7 +152,7 @@ sub check_end { #try at least $self->{main}->{conf}->{collectd_retries} to get a #connection for (my $i = 0; $i < $self->{main}->{conf}->{collectd_retries} ; ++$i) { - my ($socket_path) = $self->{main}->{conf}->{collectd_socket} =~ /(.*)/ # Untaint path, which can contain any characters. + my ($socket_path) = $self->{main}->{conf}->{collectd_socket} =~ /(.*)/; # Untaint path, which can contain any characters. last if $sock = new IO::Socket::UNIX $socket_path; #sleep a random value between 0 and 50 microsecs to try for a new #thread -- 2.30.2