From 5b22647d681bfacc282723c215d5230f0eee67c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20Elio=20Petten=C3=B2?= Date: Sun, 30 Dec 2012 09:27:05 -0800 Subject: [PATCH] hwmon: support non-dirtyconfig capable nodes. --- plugins/sensors/hwmon | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/sensors/hwmon b/plugins/sensors/hwmon index 5e755436..66e44801 100755 --- a/plugins/sensors/hwmon +++ b/plugins/sensors/hwmon @@ -173,7 +173,7 @@ END } } - unless ( $ENV{MUNIN_CAP_DIRTYCONFIG} == 1 ) { + unless ( ($ENV{MUNIN_CAP_DIRTYCONFIG} || 0) == 1 ) { exit 0; } }