--- loncom/xml/lonplot.pm 2004/06/28 15:42:49 1.98 +++ loncom/xml/lonplot.pm 2004/06/28 17:02:27 1.99 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Dynamic plot # -# $Id: lonplot.pm,v 1.98 2004/06/28 15:42:49 matthew Exp $ +# $Id: lonplot.pm,v 1.99 2004/06/28 17:02:27 matthew Exp $ # # Copyright Michigan State University Board of Trustees # @@ -43,7 +43,7 @@ BEGIN { # # Determine the version of GNUPLOT $weboutputformat = 'gif'; - $versionstring = `gnuplot --version`; + $versionstring = `gnuplot --version 2>/dev/null`; if ($versionstring =~ /^gnuplot 4/) { $weboutputformat = 'png'; }