/*
 * Copyright (C) by Argonne National Laboratory
 *     See COPYRIGHT in top-level directory
 */

#include "hydra.h"
#include "bsci.h"
#include "common.h"

HYD_status HYDT_bscd_rsh_query_env_inherit(const char *env_name, int *should_inherit)
{
    const char *env_list[] = { "DISPLAY", NULL };

    HYDU_FUNC_ENTER();

    *should_inherit = !HYDTI_bscd_in_env_list(env_name, env_list);

    HYDU_FUNC_EXIT();

    return HYD_SUCCESS;
}
