2
0
mirror of https://github.com/munin-monitoring/contrib.git synced 2018-11-08 00:59:34 +01:00

Plugin boinc_projs: fix typo

the problem was introduced in 1568bf67ea
This commit is contained in:
Lars Kruse 2016-10-20 03:01:23 +02:00
parent 9e6c5f9ebf
commit 9ec6beb0ec

View File

@ -150,7 +150,7 @@ for my $rslt_info (@rsltInfos) {
my $acttask = $acttask[0]; my $acttask = $acttask[0];
$acttask =~ s/^\s+active_task_state: //; $acttask =~ s/^\s+active_task_state: //;
if (( ($schedstat eq "2") && ($state eq "2") && ($acttask eq "1") ) || if (( ($schedstat eq "2") && ($state eq "2") && ($acttask eq "1") ) ||
( ($schedstate eq "scheduled") && ($state eq "downloaded") && ($acttask eq "EXECUTING") )) { ( ($schedstat eq "scheduled") && ($state eq "downloaded") && ($acttask eq "EXECUTING") )) {
# This is running task # This is running task
$projects{$url}->{prj_running} += 1; $projects{$url}->{prj_running} += 1;
} }