Running 310.locate in background without nohup
dwhite at gumbysoft.com
Thu Aug 19 19:08:27 PDT 2004
On Thu, 19 Aug 2004, Tai-hwa Liang wrote:
> It looks like invoking background /etc/periodic/weekly/310.locate from
> csh/tcsh then press ENTER before the job completes always failed on my
> -CURRENT box(without /var/db/locate.database being updated). Adding a
> "nohup" before the command seems to fix this problem. Since this never
> happen in -STABLE, I'm wondering about whether it's a feature or a bug?
Can you run it with sh -x and see exactly what part of the script wigs out
with the carriage return?
> # sh /etc/periodic/weekly/310.locate &
>  502
> Rebuilding locate database:
>  Exit 3 sh /etc/periodic/weekly/310.locate
> # rmdir: /tmp/located0uLR5x0te/mklocate5EuBPt1Izh: No such file or directory
> rmdir: /tmp/located0uLR5x0te: No such file or directory
> freebsd-current at freebsd.org mailing list
> To unsubscribe, send any mail to "freebsd-current-unsubscribe at freebsd.org"
Doug White | FreeBSD: The Power to Serve
dwhite at gumbysoft.com | www.FreeBSD.org
More information about the freebsd-current