diff --git a/testpar/t_subfiling_vfd.c b/testpar/t_subfiling_vfd.c index 7d0665d45bd..0400c305f40 100644 --- a/testpar/t_subfiling_vfd.c +++ b/testpar/t_subfiling_vfd.c @@ -2347,7 +2347,8 @@ main(int argc, char **argv) must_unset_ioc_thread_count_env = true; } - if (!(env_value = HDgetenv(H5FD_SUBFILING_CONFIG_FILE_PREFIX))) { + env_value = HDgetenv(H5FD_SUBFILING_CONFIG_FILE_PREFIX); + if (NULL != env_value) { int rand_value = 0; if (MAINPROCESS)