Skip to content
Browse files

munin-graph: use the same default (non-cgi) as the rest of the Master.

This basically makes --cron work again.
  • Loading branch information...
1 parent c64543e commit cbecced27c40f171c03c2431a6a8c4a376a933a9 @Flameeyes Flameeyes committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 master/lib/Munin/Master/GraphOld.pm
View
2 master/lib/Munin/Master/GraphOld.pm
@@ -334,7 +334,7 @@ sub graph_startup {
sub graph_check_cron {
# Are we running from cron and do we have matching graph_strategy
- if (&munin_get($config, "graph_strategy", "cgi") ne "cron" and $cron) {
+ if (&munin_get($config, "graph_strategy") eq "cgi" and $cron) {
# Strategy mismatch: We're run from cron, but munin.conf says
# we use dynamic graph generation

0 comments on commit cbecced

Please sign in to comment.
Something went wrong with that request. Please try again.