From 76200ad68e2947e4b4ac6ab7c42743d987478e7d Mon Sep 17 00:00:00 2001 From: Moe Jette <jette1@llnl.gov> Date: Wed, 26 Mar 2003 19:30:03 +0000 Subject: [PATCH] Replace fatal() on port connect failure with error() and exit(1); --- src/slurmctld/controller.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/slurmctld/controller.c b/src/slurmctld/controller.c index e74abe56e52..c1dc56bc237 100644 --- a/src/slurmctld/controller.c +++ b/src/slurmctld/controller.c @@ -2285,8 +2285,10 @@ static void *_background_rpc_mgr(void *no_data) /* initialize port for RPCs */ if ((sockfd = slurm_init_msg_engine_port(slurmctld_conf.slurmctld_port)) - == SLURM_SOCKET_ERROR) - fatal("slurm_init_msg_engine_port error %m"); + == SLURM_SOCKET_ERROR) { + error("slurm_init_msg_engine_port error %m"); + exit(1); + } /* * Procss incoming RPCs indefinitely -- GitLab