diff --git a/plugins/sensors/hwmon b/plugins/sensors/hwmon index 62b0834e..4ad3905b 100755 --- a/plugins/sensors/hwmon +++ b/plugins/sensors/hwmon @@ -49,7 +49,7 @@ my $classdir = '/sys/class/hwmon'; my @devdirs = <$classdir/hwmon*>; if ( defined $ARGV[0] and $ARGV[0] eq 'autoconf' ) { - if ( scalar(@devdirs) > 1 ) { + if ( scalar(@devdirs) > 0 ) { print "yes\n"; } else { print "no (no hwmon device found)\n";