Ticket #1201: fix-unlinkpinpoint.patch

File fix-unlinkpinpoint.patch, 511 bytes (added by Longinus00, 16 months ago)
  • master/_bin/munin-cgi-graph.in

     
    203203 
    204204    # ... and graph data 
    205205    send_graph_data($filename); 
     206        # Pinpoint data shouldn't be saved. 
     207        if ($pinpoint) { 
     208                unlink $filename or WARN "[WARNING] Could not unlink \"$filename\""; 
     209        } 
    206210} continue { 
    207211        $nb_request++; 
    208212        if ($nb_request_max && $nb_request > $nb_request_max) {