/[smecontribs]/rpms/smeserver-affa/contribs10/smeserver-affa-fix-reporting-error-3.patch
ViewVC logotype

Contents of /rpms/smeserver-affa/contribs10/smeserver-affa-fix-reporting-error-3.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.2 - (show annotations) (download)
Sun Nov 12 13:53:09 2023 UTC (6 months, 2 weeks ago) by jcrisp
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
Import smeserver-affa-4

1 diff -ruN smeserver-affa-3.3.1.old/root/sbin/affa smeserver-affa-3.3.1/root/sbin/affa
2 --- smeserver-affa-3.3.1.old/root/sbin/affa 2022-07-05 14:05:16.469545774 +0100
3 +++ smeserver-affa-3.3.1/root/sbin/affa 2022-07-05 14:06:36.852881518 +0100
4 @@ -727,7 +727,7 @@
5 $rpt->newval( 'Report', 'Date', Date::Format::time2str( "%Y%m%d%H%M", time() ) );
6 $rpt->newval( 'Report', 'ExecutionTime', time() - $StartTime );
7 foreach my $s ( split( /[\r\n]/, $rsyncOutput ) ) {
8 - next if ( $s =~ /(^rsync)|(^sent)|(^total size is)|(^File list)/ );
9 + next if ( $s =~ /(^rsync)|(^sent)|(^total size is)|(^File list)|(^[^:]*$)/ );
10 my @p = split( /:/, $s );
11 ( my $key = $p[0] ) =~ s/\b(\w)/\U$1/g; # first char uppercase
12 $key =~ s/ //g;

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed