On 04/13/11 09:43, Alexander Hall wrote:
> On 04/13/11 01:30, Charlie Root wrote:
> 
>> Removing scratch and junk files:
>> find: ./lynx-qAO4OXZzPa: No such file or directory
> 
> Since I have other cron jobs using /tmp for temporary files (and
> deleting them) while /etc/daily is running, I keep getting these
> annoying "errors". It was earlier mentioned that we might as well
> just ignore them and I agree.
> 
> OK?

ACK? NAK? Comments? Thoughts?

> /Alexander
> 
> 
> Index: daily
> ===================================================================
> RCS file: /bucket/openbsd/cvs/src/etc/daily,v
> retrieving revision 1.68
> diff -u -p -r1.68 daily
> --- daily     22 Sep 2010 13:01:10 -0000      1.68
> +++ daily     13 Apr 2011 07:25:37 -0000
> @@ -50,7 +50,7 @@ if [ -d /tmp -a ! -L /tmp ]; then
>       find -x . \
>           \( -path './ssh-*' -o -path ./.X11-unix -o -path ./.ICE-unix \
>               -o -path ./portslocks \) \
> -         -prune -o -type f -atime +3 -execdir rm -f -- {} \;
> +         -prune -o -type f -atime +3 -execdir rm -f -- {} \; 2>&-
>       find -x . -type d -mtime +1 ! -path ./vi.recover ! -path ./.X11-unix \
>           ! -path ./.ICE-unix ! -path ./portslocks ! -name . \
>           -execdir rmdir -- {} \; >/dev/null 2>&1; }
> @@ -61,7 +61,7 @@ if [ -d /var/tmp -a ! -L /var/tmp ]; the
>       find -x . \
>           \( -path './ssh-*' -o -path ./.X11-unix -o -path ./.ICE-unix \
>               -o -path ./portslocks \) \
> -         -prune -o ! -type d -atime +7 -execdir rm -f -- {} \;
> +         -prune -o ! -type d -atime +7 -execdir rm -f -- {} \; 2>&-
>       find -x . -type d -mtime +1 ! -path ./vi.recover ! -path ./.X11-unix \
>           ! -path ./.ICE-unix ! -path ./portslocks ! -name . \
>           -execdir rmdir -- {} \; >/dev/null 2>&1; }

Reply via email to