Re: /bin/sh question

2004-05-11 Thread Dmitry Sivachenko
On Sun, May 09, 2004 at 09:53:50PM -0400, Martin Cracauer wrote: > Dmitry Sivachenko wrote on Fri, Apr 30, 2004 at 03:28:29PM +0400: > > > > We use recent -STABLE. > > We observed /bin/sh looping forever executing a script. > > We run this script with -T option to sh(1). > > When sh(1) receives a

Re: /bin/sh question

2004-05-09 Thread Martin Cracauer
Dmitry Sivachenko wrote on Fri, Apr 30, 2004 at 03:28:29PM +0400: > > We use recent -STABLE. > We observed /bin/sh looping forever executing a script. > We run this script with -T option to sh(1). > When sh(1) receives a HUP, we entering our trap handler which spawns > child process. When this p

/bin/sh question

2004-04-30 Thread Dmitry Sivachenko
Hello! We use recent -STABLE. We observed /bin/sh looping forever executing a script. We run this script with -T option to sh(1). When sh(1) receives a HUP, we entering our trap handler which spawns child process. When this process exits, sh(1) loops. The backtrace is the following: (gdb) bt #