summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Metrics/Reporter.pm
diff options
context:
space:
mode:
Diffstat (limited to 'Bugzilla/Metrics/Reporter.pm')
-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);
}