Only fork for peak building when necessary.

This commit is contained in:
Jonathan Moore Liles 2008-04-17 10:59:02 -05:00
parent c8b872ae41
commit 9cbc39addd
1 changed files with 3 additions and 2 deletions

View File

@ -268,6 +268,7 @@ Peaks::open ( void )
int fd;
if ( ! current() )
/* Build peaks asyncronously */
if ( ! fork() )
exit( make_peaks( 256 ) );