summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Bugzilla/Metrics/Reporter.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/Bugzilla/Metrics/Reporter.pm b/Bugzilla/Metrics/Reporter.pm
index 42d2c3abc..88a08c9b8 100644
--- a/Bugzilla/Metrics/Reporter.pm
+++ b/Bugzilla/Metrics/Reporter.pm
@@ -43,6 +43,7 @@ sub background {
# spawn delivery worker
my $command = bz_locations()->{'cgi_path'} . "/metrics.pl '$class' '$filename' &";
+ $ENV{PATH} = '';
system($command);
}