From 1b864a099fdb86c9b2534e14040ca697a75e23b3 Mon Sep 17 00:00:00 2001 From: Lukas Werner <lks.werner@fau.de> Date: Tue, 10 Aug 2021 15:28:52 +0200 Subject: [PATCH] Shortened error message --- runner_scripts/root/run.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/runner_scripts/root/run.sh b/runner_scripts/root/run.sh index 9cb8210..f527675 100755 --- a/runner_scripts/root/run.sh +++ b/runner_scripts/root/run.sh @@ -79,9 +79,7 @@ if [[ ("$2" == "step_script" || "$2" == "build_script") && "${CUSTOM_ENV_NO_SLUR : "${SLURM_NODELIST:="phinally"}" # default node: phinally if [ ! $(sinfo -n "$SLURM_NODELIST" -h -O NodeList) ]; then - echo -e "${TXT_RED}${TXT_BOLD}Unknown node \"$SLURM_NODELIST\" specified. Available nodes: ${TXT_CLEAR}" >&2 - echo "$(sinfo -N -o '%N %c %m')" >&2 - error "Exiting..." + error "Unknown node \"$SLURM_NODELIST\" specified." fi SLURM_PARTITION=work -- GitLab