Only fork for peak building when necessary.
This commit is contained in:
parent
c8b872ae41
commit
9cbc39addd
|
@ -268,6 +268,7 @@ Peaks::open ( void )
|
|||
|
||||
int fd;
|
||||
|
||||
if ( ! current() )
|
||||
/* Build peaks asyncronously */
|
||||
if ( ! fork() )
|
||||
exit( make_peaks( 256 ) );
|
||||
|
|
Loading…
Reference in New Issue