diff options
author | Werner Koch <[email protected]> | 1999-02-10 16:22:40 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 1999-02-10 16:22:40 +0000 |
commit | 9a4f506a18ed04f5dbd69d74ec0c35ade79e357a (patch) | |
tree | 07178f77cb23862b045b0edf8a2bc5ce188432cd /cipher/rndunix.c | |
parent | See ChangeLog: Sun Jan 24 18:16:26 CET 1999 Werner Koch (diff) | |
download | gnupg-9a4f506a18ed04f5dbd69d74ec0c35ade79e357a.tar.gz gnupg-9a4f506a18ed04f5dbd69d74ec0c35ade79e357a.zip |
See ChangeLog: Wed Feb 10 17:15:39 CET 1999 Werner Koch
Diffstat (limited to 'cipher/rndunix.c')
-rw-r--r-- | cipher/rndunix.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cipher/rndunix.c b/cipher/rndunix.c index 716b02672..0132cd901 100644 --- a/cipher/rndunix.c +++ b/cipher/rndunix.c @@ -642,6 +642,9 @@ start_gatherer( int pipefd ) select(0, NULL, NULL, NULL, &tv); continue; } + if( errno == EPIPE ) /* parent has exited, so give up */ + exit(0); + /* we can't do very much here because stderr is closed */ if( dbgfp ) fprintf(dbgfp, "gatherer can't write to pipe: %s\n", |