logo       

BackupPC_sendEmail patch: msg#00216

sysutils.backup.backuppc.general

Subject: BackupPC_sendEmail patch

We have a couple of 'hidden' files which we use to control various nightlyjobs. One of them is called .NOBACKUP which we have in the backuppc/pc directory. I get a complaint from BackupPC_sendEmail and wondered if this patch is acceptable:

--- BackupPC_sendEmail 20 Jun 2004 02:21:01 -0000 1.15
+++ BackupPC_sendEmail 24 Aug 2004 13:13:39 -0000
@@ -121,7 +121,7 @@
my @files = $d->read;
$d->close;
foreach my $host ( @files ) {
- next if ( $host eq "." || $host eq ".." || defined($Status{$host}) );
+ next if ( $host =~ /^\./ || defined($Status{$host}) );
push(@oldDirs, "$TopDir/pc/$host");
}
if ( @oldDirs ) {

Thanks,
Marc Prewitt


-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
BackupPC-users mailing list
BackupPC-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise