Re: [patch][4.0.0alpha3] switch to cmdSystemOrEvalLong in BackupPC_rrdUpdate
Alexander Moisseev <[email protected]> Tue, 10 Dec 2013 14:06:02 +0400
| Newsgroups | gmane.comp.sysutils.backup.backuppc.devel |
|---|---|
| Message-ID | <[email protected]> |
> @@ -158,7 +158,7 @@
> if ( $_[0] =~ /^print\[([0-3])\] = "([.0-9]+)"$/ ) {
> $poolMax[$1] = $2 unless ( $2 == 0 );
> }
> - });
> + }, 0, undef);
>
> my $poolSizeGraph = [
> "$Conf{RrdToolPath}",
I found typo in the patch. $ignoreStderr needs to be 1.
@@ -158,7 +158,7 @@
if ( $_[0] =~ /^print\[([0-3])\] = "([.0-9]+)"$/ ) {
$poolMax[$1] = $2 unless ( $2 == 0 );
}
- });
+ }, 1, undef);
my $poolSizeGraph = [
"$Conf{RrdToolPath}",
------------------------------------------------------------------------------
Sponsored by Intel(R) XDK
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk
_______________________________________________
BackupPC-devel mailing list
[email protected]
List: https://lists.sourceforge.net/lists/listinfo/backuppc-devel
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/