summaryrefslogtreecommitdiffstats
path: root/spampd.pl
diff options
context:
space:
mode:
Diffstat (limited to 'spampd.pl')
-rw-r--r--spampd.pl2
1 files changed, 2 insertions, 0 deletions
diff --git a/spampd.pl b/spampd.pl
index 7b1f234..53161d9 100644
--- a/spampd.pl
+++ b/spampd.pl
@@ -937,6 +937,8 @@ if ( !$options{logsock} ) {
};
}
+# untaint pidfile
+($pidfile) = ($pidfile =~ /^(.+)$/);
my $server = bless {
server => {host => $host,