Eric Cooper [EMAIL PROTECTED] writes:
| On Mon, Dec 12, 2005 at 03:33:35PM -0500, Eric Cooper wrote:
| 2. xargs fails if find(1) call is empty
| [...]
| - use option --no-run-if-empty with xargs to prevent failure.
|
| Good catch. I'll do that.
|
| I see that the su man page says the -c
Package: approx
Version: 2.00
Severity: normal
The cron job /etc/cron.weekly/approx includes lines
find /var/cache/approx/. -type d -empty | xargs rmdir
su approx -c gc_approx --quiet
PROBLEMS
1. There is no account gc_approx
2. xargs fails if find(1) call is empty
SUGGESTION
- Not
On Mon, Dec 12, 2005 at 09:37:59PM +0200, Jari Aalto wrote:
Package: approx
Version: 2.00
Severity: normal
The cron job /etc/cron.weekly/approx includes lines
find /var/cache/approx/. -type d -empty | xargs rmdir
su approx -c gc_approx --quiet
PROBLEMS
1. There is no account
On Mon, Dec 12, 2005 at 03:33:35PM -0500, Eric Cooper wrote:
I see that the su man page says the -c ... argument should come
before the username, although it works on my systems in either order.
But I'll change it to conform to the documented behavior.
Now I see that the problem is that the
4 matches
Mail list logo