| Summary: | periodic/daily/100.clean-disks doesn't remove files | ||
|---|---|---|---|
| Product: | Base System | Reporter: | Norbert Papke <npapke> |
| Component: | conf | Assignee: | Brian Somers <brian> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | Unspecified | ||
| Hardware: | Any | ||
| OS: | Any | ||
|
Description
Norbert Papke
2000-12-23 18:40:01 UTC
Should have included the diffs in the PR:
--- /usr/src/etc/periodic/daily/100.clean-disks Tue Sep 26 18:39:56 2000
+++ /etc/periodic/daily/100.clean-disks Sat Dec 23 16:08:55 2000
@@ -27,10 +27,12 @@
rc=2
else
echo ""
- echo "Removing old temporary files:"
+ echo "Cleaning disk:"
set -f noglob
args="$args "`echo " ${daily_clean_disks_files% }" |
- sed 's/[ ][ ]*/ -name /g'`
+ sed 's/[ ][ ]*/ -o -name /g'`
+ args=`echo " $args" |
+ sed 's/-o//`
case "$daily_clean_tmps_verbose" in
[Yy][Ee][Ss])
State Changed From-To: open->feedback Fixed in -current, I'll MFC in two weeks given no problems. Responsible Changed From-To: freebsd-bugs->brian The periodic stuff is mostly my fault. State Changed From-To: feedback->closed MFC'd on Jan 7 (oops - I forgot to close the pr!) |