zhengweisk / aspersa

Automatically exported from code.google.com/p/aspersa
0 stars 0 forks source link

stalk has an error purging oprofile #153

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
A consultant reported this error:

find: warning: you have specified the -depth option after a non-option argument 
-type, but options are not positional (-depth affects tests specified before it 
as well as those specified after it).  Please specify options before other 
arguments.

He suggested this fix for line 166:

find "/var/lib/oprofile/samples" -depth -type d -name 'aspersa_collect_*' 
-mtime +${PURGE} -exec rm -f '{}' \;

Original issue reported on code.google.com by baron.schwartz on 27 Jul 2011 at 5:26