diff options
-rwxr-xr-x | bin/problem-creation-graph | 2 | ||||
-rwxr-xr-x | bin/problems-filed-graph | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/bin/problem-creation-graph b/bin/problem-creation-graph index 9fb4501a3..3e46777f4 100755 --- a/bin/problem-creation-graph +++ b/bin/problem-creation-graph @@ -113,6 +113,6 @@ $gp .= <<END; "< awk 'BEGIN { n = 0 } { n += \$2; print \$1, \$2, n; }' $sources{unconfirmed}" using 1:3 axes x1y2 with lines lt 0 title "cumulative total number of problems" END -open(my $gnuplot, '|-', "GDFONTPATH=/usr/share/fonts/truetype/ttf-bitstream-vera gnuplot > $DIR/web/fms-live-creation$config{extension} 2> /dev/null"); +open(my $gnuplot, '|-', "GDFONTPATH=/usr/share/fonts/truetype/ttf-bitstream-vera gnuplot > $DIR/web/fms-live-creation$config{extension} 2> /dev/null") or die $!; $gnuplot->print($gp); close $gnuplot; diff --git a/bin/problems-filed-graph b/bin/problems-filed-graph index cb8851b7f..a930e4346 100755 --- a/bin/problems-filed-graph +++ b/bin/problems-filed-graph @@ -62,6 +62,6 @@ my $gp = <<END; plot "$source" using 1:2 with lines axes x1y2 lt 3 title "FixMyStreet problem reports" END -open(my $gnuplot, '|-', "GDFONTPATH=/usr/share/fonts/truetype/ttf-bitstream-vera gnuplot > $DIR/web/fms-live-line$config{extension} 2> /dev/null"); +open(my $gnuplot, '|-', "GDFONTPATH=/usr/share/fonts/truetype/ttf-bitstream-vera gnuplot > $DIR/web/fms-live-line$config{extension} 2> /dev/null") or die $!; $gnuplot->print($gp); close $gnuplot; |