- freopen( "/dev/null", "w", stdout );
- freopen( "/dev/null", "w", stderr );
- execv( ppsz_args[0] , (char *const *)ppsz_args );
+ if( ( freopen( "/dev/null", "w", stdout ) != NULL )
+ && ( freopen( "/dev/null", "w", stderr ) != NULL ) )
+ execv( ppsz_args[0] , (char *const *)ppsz_args );