Permalink
Browse files

munin-graph: do not output text meant for CGI.

  • Loading branch information...
1 parent f285904 commit a3a57ed93ba9316a3cfa9716bcac00c3277eabc4 @Flameeyes Flameeyes committed Jul 25, 2012
Showing with 0 additions and 5 deletions.
  1. +0 −5 master/_bin/munin-graph.in
@@ -331,13 +331,8 @@ sub draw_graph_or_complain {
if (! -f $ret) {
my ($dom, $host, $serv, $scale, $filename ) = @_;
WARN "[WARNING] Could not draw graph \"$filename\": $ret";
- print "Status: 500\r\n",
- "Content-Type: text/plain\r\n",
- "\r\n",
- "Could not draw graph \"$filename\"\r\n";
return 0;
} else {
- print "X-Graph-Duration: $graph_duration\r\n";
return $ret;
}
}

0 comments on commit a3a57ed

Please sign in to comment.