3.0: fixed a bug showing results updated in debug mode

This commit is contained in:
Jordi Sanfeliu 2013-01-02 13:00:49 +01:00
parent 6a396342ee
commit 1c7c362d2f
1 changed files with 1 additions and 1 deletions

View File

@ -422,7 +422,7 @@ sub mysql_update {
}
RRDs::update($rrd, $rrdata);
logger("$myself: Ok") if $debug;
logger("$myself: $rrdata") if $debug;
my $err = RRDs::error;
logger("ERROR: while updating $rrd: $err") if $err;
}