Fix a race. Sometimes by the time we got to checkjobs(), the
authorEric Andersen <andersen@codepoet.org>
Tue, 22 May 2001 20:29:00 +0000 (20:29 -0000)
committerEric Andersen <andersen@codepoet.org>
Tue, 22 May 2001 20:29:00 +0000 (20:29 -0000)
commitaeb44c4da620cd4ec1c4f1e4f15fb227ec4dc8dc
tree34880ad3a23ca05ec02f5a53d00067d6270f703a
parent816867858b90485df6c304673cbd01d9664007b4
Fix a race.  Sometimes by the time we got to checkjobs(), the
pipe struct had already been freed.  Return immediately if the
pipe is NULL.
hush.c
shell/hush.c