Bug 20598

Summary: daily/460.... produces error with more than 10 logfiles
Product: Base System Reporter: James Housley <jim>
Component: binAssignee: Brian Somers <brian>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.1-STABLE   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description James Housley 2000-08-14 14:40:01 UTC
	If there are more than 12?, maillog.10.gz, log files then
	/etc/periodic/daily/460.status-mail-rejects produces an error
	and doesn't check any of the logfiles for rejects.  Below is 
	the output chunck of a "sh -x 460.status-mail-rejects"

	+ [ -f /var/log/maillog.1.gz /var/log/maillog.10.gz /var/log/maillog.11.gz /var/log/maillog.12.gz /var/log/maillog.13.gz /var/log/maillog.14.gz /var/log/maillog.15.gz /var/log/maillog.16.gz /var/log/maillog.17.gz /var/log/maillog.18.gz /var/log/maillog.19.gz ]
	[: /var/log/maillog.10.gz: unexpected operator

How-To-Repeat: 
	Use the new defaults and have a /var/log/maillog.10.gz when
	/etc/periodic/daily/460.mail-status-rejects is run
Comment 1 Sheldon Hearn freebsd_committer freebsd_triage 2000-08-14 15:02:23 UTC
State Changed
From-To: open->closed

Fixed last week. 


Comment 2 Sheldon Hearn freebsd_committer freebsd_triage 2000-08-14 15:02:23 UTC
Responsible Changed
From-To: freebsd-bugs->brian

Brian committed the fix.