From d5787d8da82a8b52f8e178677676fb825dc0254a Mon Sep 17 00:00:00 2001 From: Moe Jette <jette1@llnl.gov> Date: Tue, 24 Jun 2008 16:12:02 +0000 Subject: [PATCH] Terminate cleanly (with fatal error) if there is a bad NodeName, NodeHostName or NodeAddr at slurmctld start or reconfig --- src/slurmctld/read_config.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/slurmctld/read_config.c b/src/slurmctld/read_config.c index b219cda17ab..cb1910654ca 100644 --- a/src/slurmctld/read_config.c +++ b/src/slurmctld/read_config.c @@ -374,19 +374,19 @@ static int _build_single_nodeline_info(slurm_conf_node_t *node_ptr, } if ((alias_list = hostlist_create(node_ptr->nodenames)) == NULL) { - error("Unable to create NodeName list from %s", + fatal("Unable to create NodeName list from %s", node_ptr->nodenames); error_code = errno; goto cleanup; } if ((hostname_list = hostlist_create(node_ptr->hostnames)) == NULL) { - error("Unable to create NodeHostname list from %s", + fatal("Unable to create NodeHostname list from %s", node_ptr->hostnames); error_code = errno; goto cleanup; } if ((address_list = hostlist_create(node_ptr->addresses)) == NULL) { - error("Unable to create NodeAddr list from %s", + fatal("Unable to create NodeAddr list from %s", node_ptr->addresses); error_code = errno; goto cleanup; -- GitLab